By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,105 Members | 2,569 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,105 IT Pros & Developers. It's quick & easy.

Object test = new Object() <-- Java, best way in C++

P: n/a
In java, this seems so easy. You need a new object
Object test = new Object() gives me exactly what I want.

could someone please help me understand the different ways to do the
same thing in C++. I find my self sometimes, trying

Object app = Object();
Object *app = Object();
Object app = new Object();
randomly till something works... and this is bad because Im confused
what is happening, and the differences.
Someone please help...
As a java programmer, I really like the new keyword.
Jul 22 '05 #1
Share this Question
Share on Google+
11 Replies


P: n/a
"DrUg13" <li******@dieyoung.com> wrote...
In java, this seems so easy. You need a new object
Object test = new Object() gives me exactly what I want.
You are just can't want anything else in Java...
could someone please help me understand the different ways to do the
same thing in C++. I find my self sometimes, trying

Object app = Object();
This is OK. 'app' is an automatic object. You could do the same
thing without the '=' sign.

Object app;

declares (and often defines) an object of type 'Object' and default-
initialises it.
Object *app = Object();
This is most likely nonsense. You declared a _pointer_ to an object of
type Object and tried initialising it using a temporary of type Object.
Unless type Object has a user-defined conversion to Object*, it won't
work.
Object app = new Object();
This is the inverse of the above. You declared (and probably defined)
an _object_ of type Object and are trying to initialise it using the
'new' expression (which returns a pointer). Unless Object type has
a special constructor that takes an argument of type Object* (a pointer
to Object), it won't work.
randomly till something works... and this is bad because Im confused
what is happening, and the differences.
Have you tried a C++ book? If yes, which one? If not, why not?

C++ is a complicated language that cannot be simply guessed. If you
really want to learn C++, _study_ it.

class Object {};
int main()
{
Object obj; // declares and defines an instance of Object
// that has _automatic_ storage duration and
// will go away when the block in which it is
// defined, closes

Object *pobj = new Object; // declares and defines a pointer
// to Object and initialises it
// by creating a _dynamic_ object
// that will need to be destroyed at
// the end of your program by using
delete pobj; // ... the 'delete' keyword
}
Someone please help...
As a java programmer, I really like the new keyword.


Liking or disliking keywords is not a valid reason to use or not to
use them.

Take my advice: get a good book on C++ and study.
Victor
Jul 22 '05 #2

P: n/a
"DrUg13" <li******@dieyoung.com> wrote in message
news:6v********************************@4ax.com...
In java, this seems so easy. You need a new object
Object test = new Object() gives me exactly what I want.

could someone please help me understand the different ways to do the
same thing in C++. I find my self sometimes, trying

Object app = Object();
Object *app = Object();
Object app = new Object();
randomly till something works... and this is bad because Im confused
what is happening, and the differences.


It's also bad because you can't always tell that something isn't
working. Things might look like they're working when in fact you have
memory leaks or you are accessing memory for an object which has been
destroyed but whose storage hasn't been cleaned up.

You really need to learn the basic rules of the language before you
start programming. C++ is designed so that you can start programming
before you are familiar with each language feature, but you certainly
can't jump in from Java with no C++ background and hope to know what's
going on.

Jonathan
Jul 22 '05 #3

P: n/a
On Tue, 03 Feb 2004 03:03:27 GMT, "Victor Bazarov"
<v.********@comAcast.net> wrote:
"DrUg13" <li******@dieyoung.com> wrote...
In java, this seems so easy. You need a new object
Object test = new Object() gives me exactly what I want.
You are just can't want anything else in Java...
could someone please help me understand the different ways to do the
same thing in C++. I find my self sometimes, trying

Object app = Object();


This is OK. 'app' is an automatic object. You could do the same
thing without the '=' sign.

Object app;

declares (and often defines) an object of type 'Object' and default-
initialises it.
Object *app = Object();


This is most likely nonsense. You declared a _pointer_ to an object of
type Object and tried initialising it using a temporary of type Object.
Unless type Object has a user-defined conversion to Object*, it won't
work.
Object app = new Object();


This is the inverse of the above. You declared (and probably defined)
an _object_ of type Object and are trying to initialise it using the
'new' expression (which returns a pointer). Unless Object type has
a special constructor that takes an argument of type Object* (a pointer
to Object), it won't work.
randomly till something works... and this is bad because Im confused
what is happening, and the differences.


Have you tried a C++ book? If yes, which one? If not, why not?

I'm a CS senior in College... ANd I collect C++ books and subscribe to
safari. Some of my favorites are Deitel C++ programming, OReilly -
C++ in a Nutshell 2003, and my favorite Addison Wesley - The C++
Programming Language - 3rd Edition written by Bjarne himself..

C++ is a complicated language that cannot be simply guessed. If you
really want to learn C++, _study_ it. I'm always studing c++. Java just seems so easy, I think it is
confusing me.


class Object {};
int main()
{
Object obj; // declares and defines an instance of Object
// that has _automatic_ storage duration and
// will go away when the block in which it is
// defined, closes

Object *pobj = new Object; // declares and defines a pointer
// to Object and initialises it
// by creating a _dynamic_ object
// that will need to be destroyed at
// the end of your program by using
delete pobj; // ... the 'delete' keyword
}
Someone please help...
As a java programmer, I really like the new keyword.
Liking or disliking keywords is not a valid reason to use or not to
use them.

I just like the simplicity of it.Take my advice: get a good book on C++ and study.
Victor

Thanks Victor for taking the time to write such a detailed response.
You have cleared up som econfusion. I can tell you really know your
C++.
HEre is my ebook collection, which one is your favorite??



A LIST - Publishing Protected - Internet, Intranet & Virtual Private
Networks.chm
A LIST - Publishing Windows .NET Server 2003 Domains & Active
Directory.chm
Addison Wesley - .NET for Java Developers Migrating To C Sharp -
2003.chm
Addison Wesley - .NET Web Services.chm
Addison Wesley - A Guide To Forensic Testimony.chm
Addison Wesley - A Programmer*s Guide to Java Certification - Second
Edition (2003).chm
Addison Wesley - Advanced Linux Networking 2002.chm
Addison Wesley - Applied C - Practical Techniques For Building Better
Software.chm
Addison Wesley - Applied C PlusPlus - Techniques for Building Better
Software - 2003.rar
Addison Wesley - Applying Enterprise JavaBeans - 2nd Ed 2003.chm
Addison Wesley - Art And Business Of Speech Recognition.chm
Addison Wesley - Art Of Unix Programming 2003.pdf
Addison Wesley - Beyond Software Architecture - Creating and
Sustaining Winning Solutions - 1st Ed 2003.chm
Addison Wesley - Building Parsers with Java (2001).chm
Addison Wesley - Business Intelligence Roadmap - 2003.chm
Addison Wesley - C network programming-mastering complexity with ace
and patterns.pdf
Addison Wesley - C sharp Developer*s Guide to ASP.NET, XML, and
ADO.NET (2002).chm
Addison Wesley - C++ By Dissection.pdf
Addison Wesley - C++ FAQs 2nd Edition (1998).chm
Addison Wesley - C++ Gotchas 2002.chm
Addison Wesley - C++ Primer, Third Edition.pdf
Addison Wesley - C++ Standard Library - A Tutorial and Reference.chm
Addison Wesley - C++ Standard Library - A Tutorial and Reference.pdf
Addison Wesley - C++ Templates, The Complete Guide.chm
Addison Wesley - Code Reading The Open Source Perspective eBook.chm
Addison Wesley - Concrete Mathematics (1990).pdf
Addison Wesley - Concurrent Programming in Java (1999).chm
Addison Wesley - Configuration Management Principles and Practice
2002.chm
Addison Wesley - CSharp Developer*s Guide to ASP.NET, XML, and
ADO.NET.chm
Addison Wesley - Database Access With Visual Basic .NET 3rd.chm
Addison Wesley - Database Design for Mere Mortals 2nd.chm
Addison Wesley - Design Patterns Explained.pdf
Addison Wesley - Developing Applications with Visual Studio.NET.pdf
Addison Wesley - Documenting Software Architectures.chm
Addison Wesley - Dot NET For Java Developers 2003.chm
Addison Wesley - Effective C++ 2nd.zip
Addison Wesley - Effective Java - Programming Language Guide - 1st Ed
2001 .pdf
Addison Wesley - Effective STL - 2001.pdf
Addison Wesley - Essential ASP.NET with Examples in CSharp.chm
Addison Wesley - Essential ASP.NET with Examples in Visual Basic
..NET.chm
Addison Wesley - Exceptional C++ - 1999.chm
Addison Wesley - Extreme Programming for Web Projects 2002.chm
Addison Wesley - Extreme Programming Perspectives 2002.chm
Addison Wesley - Firewalls and Internet Security Repelling the Wiley
Hacker 2nd Ed 2003.pdf
Addison Wesley - Guerrilla Oracle. The Succinct Windows Perspective
1st Ed 2003.chm
Addison Wesley - Hack I.T. Security Through Penetration Testing
(2002).chm
Addison Wesley - Hackers Delight.chm
Addison Wesley - HyperTransport System Architecture.chm
Addison Wesley - Inside Java 2 Platform Security 2nd Ed 2003.chm
Addison Wesley - Inside Windows Server 1st Edition (2003).chm
Addison Wesley - Inside Windows storage - Server storage technologies
for Windows Server 2003, Windows 2000, and beyond
Addison Wesley - Introduction to Automata Theory, Languages, and
Computation 2nd.pdf
Addison Wesley - Introduction to Parallel Computing - 2nd Ed 2003.rar
Addison Wesley - Java and JMX (2002).chm
Addison Wesley - Java Development on PDA*s - Building Applications for
Pocket PC and Palm Devices - 2003.chm
Addison Wesley - Java Native Interface (1999).pdf
Addison Wesley - Java Performance and Scalability Volume 1.chm
Addison Wesley - Java Tutorial, Third Edition, A Short Course on the
Basics.chm
Addison Wesley - Java Web Services Tutorial (2002).chm
Addison Wesley - Java2 Platform Enterprise Edition - Platform and
Component Specifications (2000).chm
Addison Wesley - Java2 Platform, Enterprise Edition, Platform and
Component Specifications.chm
Addison Wesley - JavaSpaces in Practice (2002).chm
Addison Wesley - JDBC API Tutorial and Reference 3rd Ed 2003.chm
Addison Wesley - JSP and XML (2002).chm
Addison Wesley - JSP and XML Integrating XML and Web Services in Your
JSP Application (2002).chm
Addison Wesley - LDAP Directories Explained.chm
Addison Wesley - Managing Information Security Risks (2003).chm
Addison Wesley - Managing Software For Growth (2003).chm
Addison Wesley - Managing Software Requirements 2nd Ed 2003.chm
Addison Wesley - MIDP 2.0 Style Guide for the Java 2 Platform - Micro
Edition - 1st Ed 2003.chm
Addison Wesley - Modern C++ Design, Generic Programming and Design
Patterns Applied.chm
Addison Wesley - Modernizing Legacy Systems - 1st Ed 2003.chm
Addison Wesley - Moving To Linux Kiss The Blue Screen Of Death Goodbye
eBook.chm
Addison Wesley - Multitool Linux - Practical Uses for Open Source
Software.chm
Addison Wesley - Next Generation Application Integration - 2003.rar
Addison Wesley - Object Technology (1997).chm
Addison Wesley - Open Source Web Development With LAMP.chm
Addison Wesley - OpenGL Programming Guide, 2nd Edition.pdf
Addison Wesley - Operating Systems Concurrent And Distributed Software
Design eBook.chm
Addison Wesley - Pattern-Oriented Analysis and Design - 2003.rar
Addison Wesley - Patterns of Enterprise Application Architecture.chm
Addison Wesley - PCI Express System Architecture.chm
Addison Wesley - Performance Analysis for Java Web Sites (2002).chm
Addison Wesley - Planning Extreme Programming (2000).chm
Addison Wesley - Pocket.PC.Network.Programming.eBook.chm
Addison Wesley - Professional Software Development - 2003.chm
Addison Wesley - Programming for the Java Virtual Machine (1999).chm
Addison Wesley - Programming in the .NET Environment.chm
Addison Wesley - Programming Wireless Devices with the Java2 Platform
Micro Ed 2nd Ed 2003.chm
Addison Wesley - Python Programming with the Java Class Libraries -
1st Ed 2002.chm
Addison Wesley - Questioning Extreme Programming (2002).chm
Addison Wesley - Rational.Unified.Process.Made.Easy.eBook-LiB.chm
Addison Wesley - Real 802.11 Security. Wi-Fi Protected Access and
802.11i.chm
Addison Wesley - RTP. Audio and Video for the Internet 2003.chm
Addison Wesley - Secure XML New Syntax for Signatures and Encryption
(2002).chm
Addison Wesley - Sendmail Performance Tuning (2002).chm
Addison Wesley - Service and Component Based Development - 2003.rar
Addison Wesley - Services.Blueprint.Roadmap.For.Execution.eBook.chm
Addison Wesley - Software Architecture In
Practice.2nd.Edition.eBook.chm
Addison Wesley - Software Configuration Management Patterns (2002).chm
Addison Wesley - Software Craftsmanship The New Imperative (2001).chm
Addison Wesley - Software Engineering and Computer Games 2002.chm
Addison Wesley - Software Fortresses Modeling Enterprise Architectures
(2003).chm
Addison Wesley - Software Project Management in Practice (2002).chm
Addison Wesley - Structure and Interpretation of Signals and Systems
(2000).pdf
Addison Wesley - Test-Driven Development By Example (2002).chm
Addison Wesley - Testing Extreme Programming 2002.chm
Addison Wesley - Text Processing in Python.chm
Addison Wesley - The Art Of Computer Programming Vol II.pdf
Addison Wesley - The C++ Programming Language - 3rd Edition.pdf
Addison Wesley - The Design Patterns Java Companion.pdf
Addison Wesley - The Effective Incident Response Team.chm
Addison Wesley - The Java Language Specification 2nd Edition
(2000).pdf
Addison Wesley - The Object Constraint Language - 2nd Ed 2003.rar
Addison Wesley - The Pragmatic Programmer.chm
Addison Wesley - The Rational Unified Process An Introduction Second
Edition.chm
Addison Wesley - The Ultimate Windows Server 2003 System
Administrator*s Guide 1st Edition (2003).chm
Addison Wesley - The Unified Modeling Language Reference Manual
(1999).pdf
Addison Wesley - The XML Schema Complete Reference (2002).chm
Addison Wesley - The XML Schema Complete Reference (2002).pdf
Addison Wesley - The XML Schema Complete Reference - 2002.pdf
Addison Wesley - Troubleshooting Microsoft Technologies - The
Administrator*s Repair Manual - 2003.chm
Addison Wesley - UML Distilled 2nd Edition (1999).chm
Addison Wesley - UML Distilled Second Edition A Brief Guide to the
Standard.chm
Addison Wesley - UML Distilled, Third Edition.chm
Addison Wesley - UML for Database Design.chm
Addison Wesley - Understanding and Deploying LDAP Directory Services
-2nd Ed 2003.chm
Addison Wesley - Unicode Demystified.chm
Addison Wesley - Use Cases Requirements In Context 2nd Edition
2003.chm
Addison Wesley - Using XML With Legacy Business Applications
(2003).chm
Addison Wesley - Visual.Basic.Dot.NET.Power.Coding.eBook.chm
Addison Wesley - Web Hacking - Attacks and Defense (2002).chm
Addison Wesley - Web Hacking - Attacks and Defense.chm
Addison Wesley - Web Services A Managers Guide (2003).chm
Addison Wesley - Wireless Security and Privacy (2002).chm
Addison Wesley - XML and Java (2002).chm
Addison Wesley - XML Data Management. Native XML and XML-Enabled
Database - 1st Ed 2003.chm
Addison Wesley - XML Topic Maps - Creating and Using Topic Maps for
the Web - 1st Ed 2002.chm
Addison Wesley - XPath, XLink, XPointer, and XML (2002).chm
Addison Wesley - XQuery from the Experts. A Guide to the W3C XML Query
Language - 2003.rar
Adobe Press - Adobe After Effects 5 0 Classroom in a Book.rar
Adobe Press - Adobe Premiere 6 5 Classroom in a Book.rar
Adobe Press - Advanced Photoshop Techniques.pdf
Cisco - Advanced Voice over IP Tuning and Troubleshooting 409.pdf
Cisco - Advanced voiceband modem configuration and Troubleshooting
210.pdf
Cisco - CCNA 2 Routers and Router Basics 3.0 2003 [HTM].rar
Cisco - CCNA 3.0 Bridge 1 2001 [HTM].rar
Cisco - Deploying Large Scale Voice Over IP 406.pdf
Cisco - Deploying Voice over ATM or FR Networks 403.pdf
Cisco - Deploying Voice over IP in Campus Environments 404.pdf
Cisco - Enterprise Voice Update 1109.pdf
Cisco - Introduction to Voice and Telephone Technology 401.pdf
Cisco - Introduction to Voice over IP and other Integrated Services
402.pdf
CMP Books - Designing Embedded Communications Software - 2003.chm
CRC Press - AC Power Systems Handbook.pdf
CRC Press - Algorithms and Data Structures in C++.zip
CRC Press - Artificial Intelligence and Soft Computing.pdf
CRC Press - Cyber Forensics.pdf
CRC Press - Design For Reliability.pdf
CRC Press - Drug Abuse Handbook.pdf
CRC Press - Electrical Energy Systems.pdf
CRC Press - Electronics and Circuit Analysis using MATLAB.pdf
CRC Press - Handbook Of Applied Cryptography.pdf
CRC Press - Handbook of Lasers.pdf
CRC Press - Intelligent Control Systems Using Soft Computing
Methodologies.pdf
CRC Press - Statistics for Environmental Engineers - 2nd Ed 2002.pdf
CRC Press - The Design of Manufacturing Systems.pdf
CRC Press - Time of Death, Decomposition and Identification.pdf
Deitel - Java How To Program Ver4.pdf
Deitel - VB.net How To Program.pdf
Digital Press - Corporate Portals Empowered With XML And Web Services
- 2003 [CHM].chm
Hungry Minds - AutoCAD 2002 Bible.rar
HungryMinds - Access 2002 Bible.pdf
HungryMinds - Adobe Acrobat 5 PDF Bible.pdf
HungryMinds - Apache Server 2 Bible.rar
HungryMinds - Apache2ServerBible HungryMinds2002KabirPDF.rar
HungryMinds - ASP.NET - Your Visual Blueprint for Creating Web
Applications on the .Net Framework - 2002.rar
HungryMinds - ASP.NET Database Programming Weekend Crash Course.pdf
HungryMinds - Excel 2002 Formulas.pdf
HungryMinds - Fireworks 4 Bible.pdf
HungryMinds - Java 2 Bible Enterprise Edition.pdf
HungryMinds - JavaScript Bible 4th.pdf
HungryMinds - JSbible4.pdf
HungryMinds - LinuxPLUS CertificationBible1Ed HungryMinds2002Kay.PDF
HungryMinds - Network+ Certification Bible.pdf
HungryMinds - Oracle 9i AS Portal Bible.pdf
HungryMinds - Python 2.1 Bible.pdf
HungryMinds - Red Hat Linux 7.2 Bible.pdf
HungryMinds - Red Hat Linux Networking and System Administration.pdf
HungryMinds - Red Hat Linux Security and Optimization.pdf
HungryMinds - Server-Side Flash.pdf
HungryMinds - Site-Seeing A Visual Approach to Web Usability.pdf
HungryMinds - Visual Blueprint ASP.NET.zip
HungryMinds - Visual Blueprint C#.zip
HungryMinds - Visual Blueprint Excel Programming.zip
HungryMinds - Visual Blueprint Flash ActionScript.zip
HungryMinds - Visual Blueprint JSP.zip
HungryMinds - Visual Blueprint PHP.zip
HungryMinds - Visual Blueprint Visual Basic .NET.zip
HungryMinds - Visual Blueprint XML.zip
HungryMinds - Windows XP Bible.pdf
HungryMinds - XML Bible 2nd.rar
Idea Group - Advances in Mobile Commerce Technologies - 2003.chm
Idea Group - ERP & Data Warehousing in Organizations - Issues and
Challenges [Grant] - 2003.chm
John Wiley & Sons - IBM Data Warehousing. With IBM Business
Intelligence Tools.pdf
John Wiley & Sons - Mission-Critical Security Planner.pdf
John Wiley & Sons - Mobile and Wireless Design Essentials.chm
John Wiley & Sons - MySQL Enterprise Solutions.pdf
John Wiley & Sons - The CISM Prep Guide. Mastering the Five Domains of
Information Security Management.chm
Macromedia - Flash MX Tutorials - 1st Ed 2002.pdf
Manning - Bitter EJB.pdf
Manning - Bitter Java.pdf
Manning - Data Munging With Perl.rar
Manning - Instant Messaging in Java.pdf
Manning - Java 2 Micro Edition - 2002.pdf
Manning - Java 3D Programming.pdf
Manning - JDK 1.4 Tutorial.pdf
Manning - JSP Tag Libraries.pdf
Manning - Microsoft .NET for Programmers.pdf
Manning - Object Oriented Perl.pdf
Manning - SCWCD Exam Study Kit.zip
Manning - Server-Based Java Programming.pdf
Manning - Up to Speed with Swing 2nd.zip
Manning - Web Development with JavaServer Pages 2nd.pdf
Manning - Windows Forms Programming with C#.zip
Mcgraw Hill - A Plus Technician*s On-the-job Guide To Windows Xp -
2003.rar
Mcgraw Hill - Dreamweaver Mx Developer Certification Study Guide.rar
Mcgraw Hill - Hotspot
Networks.Wi-Fi.For.Public.Access.Locations.iNT.chm
Mcgraw Hill - How To Solve Physics Problems And Make The Grade.pdf
Mcgraw Hill - Java 2 - The Complete Reference.pdf
Mcgraw Hill - Osborne Cisco CCSP.pdf
Mcgraw Hill - Perl The Complete Reference 2nd Ed.pdf
Mcgraw Hill - Quickbooks 2003 The Official Guide.pdf
Mcgraw Hill - Sql - The Complete Reference.pdf
Mcgraw Hill - Sql Server 2000 For Experienced Dba*s - 2003.rar
Mcgraw Hill - Storage Networks - The Complete Reference - 2003.rar
Mcgraw Hill - Sun Certified Enterprise Architect For J2EE Study Guide
- 310-051.chm
Mcgraw Hill -
Wi-Fi.Handbook.Building.802.11b.Wireless.Networks.eBo ok-LiB.chm
Mcgraw Hill - Windows Nt & Unix Integration Guide.pdf
Microsoft - Building Web Solutions With ASP.NET and ADO.NET.chm
Microsoft - Computer Dictionary 5th.chm
Microsoft - Designing Relational Database Systems 1ed MSP1999
Riordan.CHM
Microsoft - Visual CS .NET.chm
MS Press - A+ Certification Training Kit - Third Edition.chm
MS Press - Access 2003.rar
MS Press - Advance Vb 6.pdf
MS Press - Comptia Security Plus Training Kit Ebook.chm
MS Press - Developing International Software.chm
MS Press - Encyclopedia Of Networking 2nd Ed.chm
MS Press - Exchange Server 2003 Admin Troubleshooting - 2003.rar
MS Press - First Look MS Office 2003.chm
MS Press - FrontPage 2002 Inside Out.chm
MS Press - Inside C Sharp - 2001 .chm
MS Press - Inside MS Sql Server 2000.chm
MS Press - Inside MS SQL Server 7.0.CHM
MS Press - Inside Windows 2000 (Third Edition).chm
MS Press - Introducing Microsoft Windows Server 2003.chm
MS Press - Mcsa Mcse - Managing And Maintaining A Windows Server 2003
Environment - 70-290 - 2003.rar
MS Press - MCSE Training Kit - SQL 7.0 Data Warehousing.CHM
MS Press - MCSE Training Kit - SQL Server 2000 Database Design and
Implementation.chm
MS Press - MCSE Training Kit - SQL Server 2000 System
Administration.chm
MS Press - MCSE Training Kit - SQL Server 7 Database
Implementation.chm
MS Press - MCSE Training Kit - SQL Server 7.0 System
Administration.chm
MS Press - Mcse Training Kit - Win2k Pro - 70-210.chm
MS Press - MCSE Training Kit - Windows NT Server 4.0 Enterprise
Technologies.chm
MS Press - Microsoft Project Version 2002 Inside Out.chm
MS Press - MS Access 2002 Inside Out.chm
MS Press - MS C# Language Reference.pdf
MS Press - MS C# Language Specifications.pdf
MS Press - MS Excel 2002 Inside Out.chm
MS Press - MS Project 2002 Inside Out.chm
MS Press - MS SQL Server 7.0 Resource Guide.CHM
MS Press - MS Windows Xp Registry Guide.pdf
MS Press - MS Word Version 2002 Inside Out.chm
MS Press - Programming Access 2000.chm
MS Press - Programming Distributed Applications with COM+ & VB6, 2nd
Edition.chm
MS Press - Programming MS Visual C++ .NET 6th (2003).chm
MS Press -
Programming.with.ms.visual.c.plus.plus.dot.net.6th .edition.ebook-lib.chm
MS Press - Running NT Workstation 4.0.chm
MS Press - SQL Server 2000 Administrator*s Companion.CHM
MS Press - SQL Server 2000 Database Design and Implementation
(Microsoft Press).pdf
MS Press - Sql Server 2000 Database Design And Implementation 70-229
2nd Ed.pdf
MS Press - SQL Server 7.0.chm
MS Press - Understanding COM+.chm
MS Press - Understanding Ipv6 - 2003 .rar
MS Press - Upgrading MS Visual Basic 6.0 To MS Visual Basic .net.chm
MS Press - Windows NT 4.0 Resource Kit Internet Guide.chm
MS Press - Windows NT 4.0 Resource Kit Networking Guide.chm
MS Press - Windows NT 4.0 Resource Kit Supplement 1.chm
MS Press - Windows NT 4.0 Resource Kit Supplement 2.chm
MS Press - Windows NT 4.0 Resourse Kit.CHM
MS Press - Windows NT 4.0 Workstation Resource Kit.chm
MS Press - Windows NT Network Administration Training.chm
MS Press - Windows NT Technical Support Training.chm
MS Press - Windows Server 2003 Administrator*s Pocket Consultant.chm
Ms Press - XML in Action - Web Technology.chm
MS Press - XML Programming (2002).chm
MSDN - Magazine 2000-2002 Complete.chm
New Riders - A+ Certification Guide.pdf
New Riders - Advanced Linux Programming.pdf
New Riders - Andrew Rollings and Ernest Adams on Game Design 2003.chm
New Riders - Chris Crawford on Game Design - 2003.chm
New Riders - Designing Virtual Worlds 2003.chm
New Riders - Designing With Web Standards 1st Ed 2003.chm
New Riders - Inside Dreamweaver MX.chm
New Riders - Inside Linux.pdf
New Riders - Inside Maya 5 - 1st Ed 2003.chm
New Riders - Java 2 Certification Training Guide.pdf
New Riders - Java for the Web with Servlets, JSP, and EJB.chm
New Riders - Macromedia Flash Communication Server MX - 1st Ed 2002
..chm
New Riders - Premiere 6.5 Fundamentals.chm
New Riders - Real World XML.chm
New Riders - Speed Up Your Site.chm
New Riders - Web Application Development with PHP 4.0.pdf
No Starch Press - Absolute BSD. The Ultimate Guide to FreeBSD.pdf
No Starch Press - CRACKPROOF Your Software.pdf
No Starch Press - How Not To Program In C No Starch-2003 .chm
No Starch Press - Linux in the Workplace.pdf
No Starch Press - The Book of Wi-Fi.chm
OReilly - .NET Framework Essentials.pdf
OReilly - Access Database Design & Programming, 3rd Edition 2002.pdf
OReilly - ActionScript Cookbook 2003.chm
OReilly - Active Directory - 2nd Ed 2003 .chm
OReilly - ADO.NET in a Nutshell - 2003 .chm
OReilly - Amazon Hacks 100 Industrial-Strength Tips and Tools 2003.chm
OReilly - Ant - The Definitive Guide (2002).pdf
OReilly - Apache Cookbook 2003.chm
OReilly - Apache The Definitive Guide 3rd Edition (2002).chm
OReilly - Apache The Definitive Guide, 3rd Edition O*Reilly - 2002.chm
OReilly - ASP in a Nutshell - Quick Reference.pdf
OReilly - Building Embedded Linux Systems.rar
OReilly - Building Internet Firewalls 2nd.pdf
OReilly - Building Secure Servers with Linux (2002).chm
OReilly - Building Wireless Community Networks.pdf
OReilly - C Pocket Reference (2002).chm
OReilly - C Sharp Language Pocket Reference - 2002 .chm
OReilly - C++ in a Nutshell 2003.chm
OReilly - Cisco CookBook - 2003.chm
OReilly - Cisco IOS Access Lists (2001).pdf
OReilly - Content Syndication with RSS (2003).chm
OReilly - CSS The Definitive Guide.zip
OReilly - Database Programming with JDBC and Java 2nd Edition
(2000).Pdf
OReilly - Developing Java Beans.pdf
OReilly - DHCP for Windows 2000 (2001).pdf
OReilly - DNS & BIND Cookbook 4th Edition (2002).chm
OReilly - DNS And BIND 3rd Edition (1998).chm
OReilly - eBay Hacks - 100 Industrial-Strength Tips and Tools -
2003.rar
OReilly - Enterprise JavaBeans, 3rd Edition.pdf
OReilly - Essential CVS - 2003.chm
OReilly - Essential System Administration 3rd Edition (2002).chm
OReilly - Flash Remoting The Definitive Guide (2003).chm
OReilly - Google Hacks, 1st Edition2003.pdf
OReilly - HTML & XHTML, The Definitive Guide, 5th.chm
OReilly - HTML the definite guide.pdf
OReilly - J2ME in a Nutshell.pdf
OReilly - Java 2D Graphics.pdf
OReilly - Java and SOAP.pdf
OReilly - Java and XML 2nd.zip
OReilly - Java and XML Data Binding (2002).pdf
OReilly - Java and XSLT (2001).pdf
OReilly - Java Cookbook Solutions and Examples for Java Developers.pdf
OReilly - Java Cryptography.zip
OReilly - Java Data Objects (2003).chm
OReilly - Java Enterprise Best Practices (2002).chm
OReilly - Java Enterprise Bookshelf.zip
OReilly - Java Enterprise in a Nutshell.pdf
OReilly - Java Extreme Programming Cookbook - 2003.chm
OReilly - Java IO.pdf
OReilly - Java Management Extension (2002).pdf
OReilly - Java Network Programming.pdf
OReilly - Java NIO.pdf
OReilly - Java Performance Tuning - 2nd Ed 2003.chm
OReilly - Java Programming with Oracle JDBC.pdf
OReilly - Java Referance Library.zip
OReilly - Java RMI.zip
OReilly - Java Servlet Programming.pdf
OReilly - Java Swing 2nd Edition (2002).chm
OReilly - Java Swing.pdf
OReilly - Java Threads 2nd.zip
OReilly - Java Web Services in Nutshell (2003).chm
OReilly - Java Web Services.pdf
OReilly - JavaScript & DHTML Cookbook.chm
OReilly - JavaScript Pocket Reference 2nd.chm
OReilly - JavaServer Pages 2nd.pdf
OReilly - Kerberos - The Definitive Guide - 2003.chm
OReilly - LDAP System Administration.chm
OReilly - Learning CSharp.chm
OReilly - Learning Java 2nd.chm
OReilly - Learning Perl 3rd.chm
OReilly - Learning Perl Objects, References and Modules - 2003
[CHM].chm
OReilly - Learning Python (1999).chm
OReilly - Learning Red Hat Linux, 3rd Edition.chm
OReilly - Learning the bash Shell 2nd Edition (1998).chm
OReilly - Learning The Unix Operating System (1998).pdf
OReilly - Learning the VI Editor 6th Edition.pdf
OReilly - Learning UML (2003).chm
OReilly - Learning Wireless Java (2001).pdf
OReilly - Learning XML 1st Ed.pdf
OReilly - Learning XML 2nd Edition (2003).chm
OReilly - Learning XML.pdf
OReilly - Linux Device Drivers 2nd.pdf
OReilly - Linux In A Nutshell - 4th Ed 2003 .chm
OReilly - Linux Security Cookbook - 2003 .chm
OReilly - Linux Server Hacks.pdf
OReilly - Linux Webserver Bookshelf.zip
OReilly - Mac OS X - The Missing Manual 2nd.chm
OReilly - Mac OS X Hacks.chm
OReilly - Mac OS X in a Nutshell (2003).chm
OReilly - MacOSX For Java Geeks.chm
OReilly - Managing And Using Mysql Second Edition 2002.chm
OReilly - Managing NFS and NIS 2nd Edition.pdf
OReilly - Managing the Windows 2000 Registry (2000).pdf
OReilly - Mastering Oracle SQL (2002).chm
OReilly - Mastering Oracle SQL.chm
OReilly - Mastering Perl for Bioinformatics - 2003.rar
OReilly - Mastering Perl Tk (2002).chm
OReilly - Mastering Regular Expressions (1997).pdf
OReilly - Mastering Visual Studio .NET - 2003 .chm
OReilly - Mastering Visual Studio .NET.chm
OReilly - Mysql Cookbook 2002.pdf
OReilly - MySQL Pocket Reference - 2003.chm
OReilly - Network Security with OpenSSL (2002).pdf
OReilly - Objective-C Pocket Reference (2002).chm
OReilly - Oracle PL-SQL Language Pocket Reference - 2nd Ed 2003.chm
OReilly - Oracle PLSQL Bookshelf.zip
OReilly - PC Hardware in a Nutshell - 3rd Ed 2003.chm
OReilly - PC Hardware in a Nutshell 2nd.chm
OReilly - Peer To Peer Harnessing.pdf
OReilly - Perl 6 Essentials - 2003 .chm
OReilly - Perl and XML.pdf
OReilly - Perl Cookbook (1998).pdf
OReilly - Perl Cookbook 2nd Ed 2003.chm
OReilly - Perl for Oracle DBAs 92002).chm
OReilly - Perl in a Nutshell (1998).pdf
OReilly - Perl in a Nutshell 2nd Edition (2002).chm
OReilly - PHP Cookbook (2002).pdf
OReilly - PHP Pocket Reference (2002).chm
OReilly - Practical C Programming 3rd Edition.pdf
OReilly - Practical mod perl.chm
OReilly - Practical RDF - 2003.chm
OReilly - Practical Unix & Internet Security 3rd Ed.chm
OReilly - Programming .NET Security - 2003.chm
OReilly - Programming C Sharp - 3rd Ed - 2003 .chm
OReilly - programming c# -- oreilly.pdf
OReilly - Programming C# 2nd.pdf
OReilly - Programming ColdFusion MX 2nd Edition (2003).chm
OReilly - Programming Embedded Systems in C and C++.zip
OReilly - Programming Jakarta Struts.chm
OReilly - Programming Perl (1).pdf
OReilly - Programming Perl 5 Reference Guide.pdf
OReilly - Programming PHP (2002).chm
OReilly - Programming Python 2nd.zip
OReilly - Programming VB.NET - 2nd Ed 2003 .chm
OReilly - Programming Web Services with Perl (2002).chm
OReilly - Programming Web Services with SOAP.pdf
OReilly - Python and XML (2002).pdf
OReilly - Python Cookbook (2002).chm
OReilly - Python in a Nutshell.chm
OReilly - Python Pocket Reference Second Edition 2001.chm
OReilly - Python Standard Library 2001.chm
OReilly - Radius (2002).chm
OReilly - Regular Expression Pocket Reference (2003).chm
OReilly - Running Linux 4th Ed.pdf
OReilly - Secure Coding. Principles and Practices.chm
OReilly - Secure Programming Cookbook for C and C PlusPlus - 2003.chm
OReilly - Sendmail 3rd Ed.chm
OReilly - Server Load Balancing (2001).pdf
OReilly - Sql Tuning 2003.chm
OReilly - SSH Secure Shell Definitive Guide (2001).pdf
OReilly - TCPIP Network Administration. 3rd Edition.chm
OReilly - The Networking CD Bookshelf 2.0.zip
OReilly - The Perl CD Bookshelf 3.0.zip
OReilly - The UNIX CD Bookshelf 3.0.zip
OReilly - The Web Programming CD Bookshelf v1.0-EATiSO.rar
OReilly - TiVo Hacks 100 Industrial-Strength Tips and Tools 2003.chm
OReilly - Transact-SQL Cookbook.chm
OReilly - Understanding The Linux Kernel - 1st Ed 2000.rar
OReilly - Understanding the Linux Kernel 2nd.chm
OReilly - Understanding The Linux Kernel.pdf
OReilly - UNIX Power Tools 3rd.zip
OReilly - Using Samba, Second Edition.chm
OReilly - VB & VBA In A Nutshell (1998).pdf
OReilly - VB.NET Core Classes in a Nutshell.chm
OReilly - VB.NET Language In A Nutshell 2nd Ed.chm
OReilly - VB.NET Language Pocket Reference.chm
OReilly - VBScript In A Nutshell - 2nd Ed 2003.chm
OReilly - Web Database Applications with PHP and MySQL(2002).chm
OReilly - Web Design In A Nutshell (1999).pdf
OReilly - Web Services Essentials.zip
OReilly - Windows Server 2003 in a Nutshell (2003).chm
OReilly - Windows XP Hacks 2003.chm
OReilly - Windows XP Unwired, A Guide For Home, Office, and The Road
(2003).chm
OReilly - Wireless Hacks (2003).chm
OReilly - XForms Essentials (2003).chm
OReilly - XML CD Bookshelf (2001).chm
OReilly - XML in a Nutshell 2nd.chm
OReilly - XML Pocket Reference 2nd.pdf
OReilly - XSL-FO (2002).chm
OReilly - XSLT Cookbook (2002).chm
PC Magazine - Fall-03.pdf
PC Magazine - Feb-03-04.pdf
PC Magazine - Feb-17-04.pdf
PC Magazine - Jan-20-04.pdf
PC Magazine - Nov-11-03.pdf
PC Magazine - Nov-25-03.pdf
PC Magazine - Oct-01-03.pdf
PC Magazine - Oct-28-03.pdf
PC Magazine - Sep-02-03.pdf
PC Magazine - Sep-16-03.pdf
Peachpit Press - C Sharp Web Development with ASP.NET - Visual
QuickStart Guide - 2003.chm
Peachpit Press - iMovie 3 for Mac OS X Visual QuickStart Guide
2003.chm
Peachpit Press - Macromedia Flash MX Advanced - For Windows and
Macintosh Visual QuickPro Guide - 1st Ed 2002.pdf
Peachpit Press - Real World Adobe Indesign 2 - 2003.pdf
Peachpit Press - The Little iDVD Book - 2nd Ed 2003.chm
Premier Press - Administering and Securing the Apache Server.chm
Premier Press - Microsoft C# Programming for the Absolute Beginner.pdf
Premier Press - PHP Fast And Easy Web Development - 2nd Ed.chm
Premier Press - PHP.MySQL Programming for the Absolute Beginner.chm
Prentice Hall - Complete Home Wireless Networking - Windows XP Edition
- 2003.rar
Prentice Hall - Computer Networks 4th Ed 2003.chm
Prentice Hall - Core J2EE Patterns.chm
Prentice Hall - Core Java 2 - Volume I - Fundamentals - Prentice Hall
PTR - 2000.chm
Prentice Hall - Core Java 2 - Volume I - Fundamentals 2000.chm
Prentice Hall - Core Java 2 Volume 1 - Fundamentals 2002.chm
Prentice Hall - Core Java 2 Volume 2 - Advanced Features.chm
Prentice Hall - Core JSTL.chm
Prentice Hall - Core Web Programming.chm
Prentice Hall - From ASICs to SOC A Practical Approach 2003.chm
Prentice Hall - Getting Started With Sun One.chm
Prentice Hall - HP-UX 11i Systems Administration Handbook and Toolkit
2nd Ed 2003.chm
Prentice Hall - Integrating Linux and Windows.pdf
Prentice Hall - Interprocess Communications in Linux - 2003.chm
Prentice Hall - Introductory Robotics - Selig.pdf
Prentice Hall - IPSec. The New Security Standard for the Internet
Intranets and VPN - 2nd Ed 2003.chm
Prentice Hall - IT Security - Risking the Corporation - 2003.chm
Prentice Hall - IT Web Services.chm
Prentice Hall - Itanium Architecture for Programmers.chm
Prentice Hall - Java for Coldfusion Developers - 2003.chm
Prentice Hall - Java Oracle Database Development.chm
Prentice Hall - Just Enough CRM.chm
Prentice Hall - Linux Desk Reference 2nd.chm
Prentice Hall - Linux on the Mainframe - 2003.rar
Prentice Hall - Making Enterprise Risk Management Pay Off.chm
Prentice Hall - Oracle DBA Guide to Data Warehousing and Star Schemas
[Scalzo] 2003.chm
Prentice Hall - PTR - Getting Started With Sun One.chm
Prentice Hall - Read Me First A Style Guide For The Computer Industry
2nd Edition eBook.chm
Prentice Hall - Speed Signal Propagation Advanced Black Magic 2003.chm
Prentice Hall - Suns Core Java 2 - Volume I Fundamentals 5th Ed.pdf
Prentice Hall - The C Programming Language Ritchie & kernighan.pdf
Prentice Hall - The Practice of Network Security.chm
Prentice Hall - Thinking In C++ 2nd.pdf
Prentice Hall - Thinking In Java 2nd.pdf
Prentice Hall - Unix Shells By Example Third Edition - Prentice Hall -
2001.chm
Prentice Hall - Unix User S Handbook Second Edition - Prentice Hall -
2001.chm
Prentice Hall - Verilog HDL A Guide To Digital Design And Synthesis
2nd Ed.chm
Que - Absolute Beginners Guide To Building Robots.chm
Que - Absolute Beginners Guide to Microsoft Access 2002 1st Ed
2003.chm
Que - Active Directory Services Design - Exam Cram 2 - 70-219 - 1st Ed
2003.chm
Que - ANSI-ISO C++ Professional Programmer*s Handbook.pdf
Que - Easy Microsoft Office Access 2003.chm
Que - Easy Microsoft Office Outlook 2003.chm
Que - Easy Microsoft Office PowerPoint 2003.chm
Que - Java 2 Developer Exam Cram 2 CX-310-252a CX-310-027 2003.chm
Que - MCSE Training Guide Windows XP Professional.pdf
Que - Microsoft Office 2003 All In One 0-7897-2936-9.chm
Que - Novell ZENworks for Desktops 4 Administrators Handbook -
2003.chm
Que - Platinum Edition Using Microsoft Windows XP 1st Ed 2003.chm
Que - Programming XML by Example.pdf
Que - Publishing Java 2 Programmer Exam Cram (310-035).chm
Que - Publishing MCAD MCSD Training Guide (70-310).chm
Que - Publishing MCSE Windows 2000 Network Infrastructure Exam Cram 2
(70-216).chm
Que - Publishing Security Plus Exam Cram 2 (SYO-101).chm
Que - Publishing Security Plus Training Guide.chm
Que - Scott Mueller - Upgrading and Repairing PCs - 13th Ed 2002 .pdf
Que - Show Me Microsoft Office Word 2003 0-7897-2936-9 .chm
Que - Show Me Microsoft Windows Xp 0-7897-3018-9 .chm
Que - Special Edition - Using Microsoft ASP.NET - 2003 .chm
Que - Special Edition Using Enterprise JavaBeans 2.0.chm
Que - Special Edition Using Java 2 Platform.pdf
Que - Special Edition Using Java 2 Standard Edition.chm
Que - Special Edition Using Linux.pdf
Que - Special Edition Using Microsoft CRM 2003.chm
Que - Special Edition Using Microsoft Word 2003.chm
Que - Special Edition Using XML Schema.chm
Que - Special Edition Using XML.pdf
Que - Teach Yourself Sql In 21 Days 2nd Ed 0-672-31110-0.pdf
Que - Teach Yourself SQL in 21 Days.pdf
Que - Using MS Office 2003.pdf
Que - VB.NET Database Programming - 2002 .chm
Sams - A Programmers Introduction to VB.NET - 1st Ed 2001 .pdf
Sams - Advanced C.pdf
Sams - Ant Developer Handbook.chm
Sams - ASP.NET Data Web Controls Kick Start.chm
Sams - ASP.NET Kick Start.chm
Sams - Borland C Builder 6 Developers Guide.pdf
Sams - Borland C PlusPlus Builder 6 Developers Guide - 2003 .rar
Sams - C PlusPlus Primer Plus - 4th Ed - 2001 .chm
Sams - C++ Footprint and Performance Optimization.chm
Sams - C++ Unleashed.pdf
Sams - Data Structures & Algorithms in Java.pdf
Sams - DB2 Developers Guide.pdf
Sams - DirectX 7 in 24 Hours.pdf
Sams - Java Distributed Objects.pdf
Sams - Java Media APIs.chm
Sams - Java Thread Programming.pdf
Sams - linux programming unleashed.pdf
Sams - Lotus Notes and Domino 6 Development - 2nd Ed 2003.chm
Sams - Maximum Wireless Security - 2002.chm
Sams - Microsoft SQL Server 2000 Unleashed - 2nd Ed 2002 .chm
Sams - Microsoft Windows DNA Exposed.pdf
Sams - MySQL - 2nd Ed 2003.chm
Sams - Object-Oriented Design in Java.pdf
Sams - PHP and MySQL Web Development 2nd1.zip
Sams - PostgreSQL - 200 .chm
Sams - Pure JavaScript 2nd.zip
Sams - Pure JFC Swing.pdf
Sams - Pure JSP Premium Refeference - 2000 .pdf
Sams - Sams Teach Yourself Crystal Reports 9 in 24 Hours - 1st Ed 2002
..chm
Sams - Struts Kick Start - 2002.chm
Sams - Teach Yourself ADO.NET in 21 Days.chm
Sams - Teach Yourself ADO.NET in 24 Hours.chm
Sams - Teach Yourself Adobe Premiere 6.5 in 24 Hours - 1st Ed 2002
..chm
Sams - Teach Yourself ASP.NET in 21 Days.chm
Sams - Teach Yourself Borland C++ In 14 Days.pdf
Sams - Teach Yourself C Sharp in 24 Hours.chm
Sams - Teach Yourself CORBA In 14 Days.pdf
Sams - Teach Yourself Crystal Reports 9 in 24 Hours, Joe Estes et al,
Sams Publishing, 2002.chm
Sams - Teach Yourself Database Programming with Visual C++ in 21 Days
1.pdf
Sams - Teach yourself Database Programming with Visual C++ in 21
days.pdf
Sams - Teach Yourself EJB in 21 Days.chm
Sams - Teach Yourself Emacs In 24 Hours.zip
Sams - Teach Yourself Flash MX ActionScript in 24 Hours.chm
Sams - Teach Yourself Game Programming in 24 Hours.chm
Sams - Teach Yourself Internet and Web Basics - All in One - 2003.chm
Sams - Teach Yourself J2EE in 21 Days.zip
Sams - Teach Yourself KDE in 24 Hours.pdf
Sams - Teach Yourself Linux In 24 Hours.pdf
Sams - Teach Yourself Mac OS X Digital Media - All In One - 2003.chm
Sams - Teach Yourself Microsoft Office 2003 in 24 Hours.chm
Sams - Teach Yourself Microsoft Office Access 2003 in 24 Hours.chm
Sams - Teach Yourself Microsoft Office FrontPage 2003 in 24 Hours.chm
Sams - Teach Yourself MySQL in 21 Days.pdf
Sams - Teach Yourself Office Outlook 2003 in 24 Hours.chm
Sams - Teach Yourself Office PowerPoint 2003 in 24 Hours.chm
Sams - Teach Yourself Office Productivity - 1st Ed 2003.chm
Sams - Teach Yourself Office Word 2003 in 24 Hours.chm
Sams - Teach Yourself Oracle 8 In 21 Days.pdf
Sams - Teach Yourself PHP MySQL and Apache in 24 Hours - 2003 .chm
Sams - Teach Yourself PHP4 in 24 Hours.pdf
Sams - Teach Yourself PowerPoint 11 in 24 Hours.chm
Sams - Teach Yourself PowerPoint 2003 in 24 Hours - 2003.rar
Sams - Teach Yourself Shell Programming in 24 Hours.pdf
Sams - Teach Yourself SQL in 24 Hours.pdf
Sams - Teach Yourself TCPIP in 14 Days.pdf
Sams - Teach Yourself TCPIP in 24 Hours.chm
Sams - Teach Yourself Visual C++ .NET in 24 Hours.chm
Sams - Teach Yourself Visual C++ 6 in 21 days.pdf
Sams - Teach Yourself Visual Studio .Net 2003 In 21 Days.chm
Sams - Teach Yourself Windows XP Computer Basics - All in One -
2003.chm
Sams - TOAD Handbook - 2003.chm
Sams - Tricks of the Windows Game Programming Gurus.pdf
Sams - Unix Shell Programming - 3rd Ed 2003.chm
Sams - Unix Unleashed.pdf
Sams - Visual Basic .NET Primer Plus.chm
Sams - WebObjects Developer*s Guide.chm
Sybex - C++ No Experience Required.pdf
Sybex - Cascading Style Sheets - The Designers Edge Sybex 2003
0-782-14184-6 .chm
Sybex - CCDP Cisco Internetwork Design Study Guide.pdf
Sybex - CCIE Cisco Certified Internetwork Expert Study Guide.pdf
Sybex - CCIP BSCI Study Guide.pdf
Sybex - CCNA Cisco Certified Network Associate Study Guide 3rd.pdf
Sybex - CCNP Remote Acess Study Guide.pdf
Sybex - CCNP Switching Study Guide.rar
Sybex - CCSE NG Check Point Certified Security Expert Study Guide.pdf
Sybex - CISSP Certified Information Systems Security Professoinal
Study Guide.pdf
Sybex - CIW Internetworking Professional Study Guide.pdf
Sybex - CIW Security Professional Study Guide.pdf
Sybex - CIW Server Administrator Study Guide.pdf
Sybex - Complete Java 2 Certification Study Guide 3rd.pdf
Sybex - Complete Java 2 Certification Study Guide 3rd.zip
Sybex - CompTIA IT Project Plus Study Guide.pdf
Sybex - CompTIA Security Plus Study Guide.pdf
Sybex - CompTIA Server Plus Study Guide 2nd.pdf
Sybex - CSharp Complete.chm
Sybex - CSharp Network Programming 2003.chm
Sybex - Dreamweaver and Fireworks MX Savvy.pdf
Sybex - Firewalls 24Seven 2nd.pdf
Sybex - Flash MX Savvy.pdf
Sybex - Java 2 Web Developer Certification Study Guide.pdf
Sybex - Java 2 Web Developer Certification Study Guide1.pdf
Sybex - JNCIP Juniper Networks Certified Internet Professional
2003.chm
Sybex - Linux Network Servers.pdf
Sybex - Linux System Administration.pdf
Sybex - Linux+ Study Guide.pdf
Sybex - MAstering C Sharp Database Programming - 2003.chm
Sybex - Mastering ColdFusion 5.pdf
Sybex - Mastering Delphi 6.pdf
Sybex - Mastering Delphi 7 - 2003 .chm
Sybex - Mastering Dreamweaver MX Databases - 2003.chm
Sybex - Mastering Microsoft Server 2003.bin
Sybex - Mastering Microsoft Server 2003.cue
Sybex - Mastering MySQL 4.chm
Sybex - Mastering Oracle8i 2002.pdf
Sybex - Mastering PHP 4.1.pdf
Sybex - Mastering UML With Rational Rose 2002.pdf
Sybex - Mastering VB.NET.pdf
Sybex - Mastering VB.NET.zip
Sybex - Mastering Windows Server 2003.pdf
Sybex - Mastering Windows XP Home Edition.pdf
Sybex - MCSA-MCSE Windows XP Professional Study Guide - 70-270 - 2nd
Ed 2003 PDF.rar
Sybex - NET Framework Solutions.pdf
Sybex - NET Framework Solutions1.pdf
Sybex - Network Study Guide 3rd Edition.pdf
Sybex - OCA OCP Oracle9i DBA Fundamentals 2002.rar
Sybex - OCP Oracle 9i DBA Fundamentals 2 2002.rar
Sybex - OCP Oracle 9i Performance Tuning 2002.rar
Sybex - OCP Oracle8i DBA SQL and PLSQL Study Guide 2000.pdf
Sybex - PC Disaster and Recovery - 2003 .chm
Sybex - Programming Spiders, Bots, and Aggregators in Java.pdf
Sybex - The Hidden Power of Flash Components.chm
Sybex - Windows 2000 Directory Services Administration Study Guide.pdf
Sybex - Windows 2000 Directory Services Design Study Guide.pdf
Sybex - Windows 2000 Server Study Guide.pdf
Syngress - .NET Mobile Web Developers Guide.zip
Syngress - 10 Cool LEGO Mindstorm Robotics Invention System 2
Projects.pdf
Syngress - 10 Cool LEGO Mindstorms Ultimate Buider Projects.pdf
Syngress - ASP Configuration Handbook.pdf
Syngress - ASP.NET Web Developer*s Guide.pdf
Syngress - ASP.NET Web Developers Guide.rar
Syngress - Best Damn Firewall Book Period - 2003.rar
Syngress - Bluetooth Application Developers Guide.pdf
Syngress - Building a Cisco Network for Windows 2000.pdf
Syngress - Building A Cisco Wireless LAN.pdf
Syngress - Building Cisco Remote Access Networks.pdf
Syngress - Building DMZs for Enterprise Networks - 2003 [PDF].pdf
Syngress - Building Robots With Lego Mindstorms.zip
Syngress - C# .Net Developers Guide.pdf
Syngress - C# .NET Web Developer’s Guide.zip
Syngress - C# for Java Programmers.pdf
Syngress - Configuring and Troubleshooting Windows XP Pro.pdf
Syngress - Configuring Cisco Voice Over IP 2nd Ed.pdf
Syngress - Configuring Citrix Metaframe for Win2K.pdf
Syngress - Configuring Citrix MetaFrame XP for Windows Including
Feature Release 1.pdf
Syngress - Configuring IPv6 for Cisco IOS.pdf
Syngress - Configuring Symantec AntiVirus Corporate Edition.pdf
Syngress - Designing SQL Server 2000 Databases for .NET Enterprise
Servers.pdf
Syngress - Developing .NET Web Services with XML.pdf
Syngress - Developing Web Services with Java APIs for XML Using
WSDP.pdf
Syngress - E-mail Virus Protection Handbook.pdf
Syngress - Hack Proofing Coldfusion.pdf
Syngress - Hack Proofing Linux.pdf
Syngress - Hack Proofing Sun Solaris 8.pdf
Syngress - Hack Proofing XML.pdf
Syngress - Hack Proofing Your Identity in the Information Age.pdf
Syngress - Hack Proofing Your Network.pdf
Syngress - Hack Proofing Your Web Applications.pdf
Syngress - Hack Proofing Your Wireless Network.pdf
Syngress - How to Cheat at Deploying Exchange Server 2000 with Active
Directory - 2003 .pdf
Syngress - How to Cheat at Installing, Configuring and Troubleshooting
Active Directory and DNS.pdf
Syngress - Implementing & Administering Security in a Windows 2000
Network.pdf
Syngress - IP Addressing and Subnetting Inc. IPv6.rar
Syngress - Journey To The Center of the Internet.pdf
Syngress - LegoMindstorm with Java.pdf
Syngress - MCSA MCSE - Implem, Manag and Maintain a Win Server 2003
Network Infra - 70-291 - 2003.pdf
Syngress - MCSA MCSE - Managing and Maintaining A Windows Server 2003
Environment - 70-290 - 2003.pdf
Syngress - Mission Critical Windows 2000 Server Administration.pdf
Syngress - Scene of the CyberCrime.pdf
Syngress - Security Plus.pdf
Syngress - Sniffer Pro Network Optimization & Troubleshooting
Handbook.pdf
Syngress - Snort 2.0 Intrusion Detection.pdf
Syngress - Special Ops Host and Network Security for Microsoft UNIX
and Oracle.pdf
Syngress - Troubleshooting Windows 2000 TCP-IP.pdf
Syngress - VB.Net - Developers Guide.pdf
Syngress - VB.NET Developers Guide.pdf
Syngress - Windows 2000 Active Directory 2nd.pdf
TestKing - 070-228 SQL Server 2000 Admin.pdf
TestKing - 070-229 SQL Server 2000 Design.pdf
TestKing - 1DO-420 CIW Site Designer.pdf
TestKing - 1Z0-001 Oracle 8i Introduction to Oracle SQL & PLSQL.pdf
TestKing - 1Z0-007 Introduction to Oracle9i SQL.pdf
TestKing - 1z0-020 Oracle Upgrading 8 to 8i.pdf
TestKing - 1z0-023 Oracle 8i Architecture and Administration.pdf
TestKing - 1z0-025 Oracle 8i Backup and Recovery.pdf
TestKing - 1Z0-030 Oracle 9i New Features for Administrators.pdf
TestKing - 1Z0-031 Oracle 9i Database Fundimentals I.pdf
TestKing - 1Z0-033 Oracle 9i Performance Tuning.pdf
TestKing - 1z0-101 Oracle Program Units.pdf
TestKing - 1z0-121 Oracle Build Forms 1.pdf
TestKing - 1z0-122 Oracle Build Forms 2.pdf
TestKing - 1z0-123 Oracle Build Reports.pdf
TestKing - 1Z0-131 Oracle 9i Build Internet Applications I.pdf
TestKing - 1Z0-132 Oracle 9i Build Internet Applications I.pdf
TestKing - 1Z0-501 Oracle Java Certified Programmer.pdf
TestKing - Cisco Voice Over IP - 9e0-431 2.0.pdf
TestKing - Deploying Quality Of Service in Enterprise Networks -
9e0-601 5.1.pdf
TestKing - Designing and Implementing Databases MS SQL Server 2000 Ent
Ed 070-229 2.3.rar
TestKing - Dev Win Based Apps with VB.NET - 070-306 1.0.pdf
TestKing - Dev Win Based Apps with VC Sharp.NET - 070-316 1.0.pdf
TestKing - Developing Windows Based Applications with Visual Basic
..Net - MCSD MCAD Study Guide - 070-306 3.0.pdf
TestKing - Developing XML Web Services and Server Components with MS
VB.NET - 070-310 6.1.pdf
TestKing - Introduction to Oracle9i - SQL - 1z0-007 4.0.pdf
TestKing - Java Certified Programmer (Oracle) Study Guide v1.0 (Exam
1Z0-501).pdf
TestKing - Java Certified Programmer [Oracle] - Study Guide - 1Z0-501
1.0.pdf
TestKing - LPI 102 General Linux - Part 2 - 117-102 1.1.pdf
TestKing - MOUS Access 2000 (1.0).pdf
TestKing - MOUS Excel 2000 (1.0).pdf
TestKing - MOUS Word 2000 1.0).pdf
TestKing - N10-002 CompTIA Network .pdf
TestKing - Routing & Switching Exam - 646-521 1.0.pdf
TestKing - Security Plus SY0-101 7.1.pdf
TestKing - Sun 310-014 Exam Q And A 4.2.pdf
TestKing - Sun Certified Network Administrator For Solaris 9 - 310-044
4.0.pdf
TestKing - Sun Certified Programmer for Java 2 Platform 1.4 - 310-035
9.0.pdf
TestKing - Sun Certified Security Administrator - 310-301 3.0.pdf
TestKing - Sun Solaris 8 System Administration I - Study Guide -
310-011- 1.0.pdf
TestKing - Sun Solaris 8 System Administration II - Study Guide -
310-012 1.0.pdf
TestKing - Upgrading from Oracle 8 to 8i - Study Guide - 1Z0-020
1.0.pdf
TestKing - Wireless LAN for Field Engineers - 9e0-581 6.1.pdf
TestKing - XK0-001 CompTIA Linux+.pdf
The MIT Press - Introduction to Algorithms 2nd.pdf
The MIT Press - Java Precisely.pdf
The MIT Press - Privacy on the Line.pdf
The MIT Press - The First Computers—History and Architectures.pdf
Wiley - 50 Fast Photoshop 7.0 Techniques.pdf
Wiley - A Guide to the New Standard for Global E-Commerce (2002).pdf
Wiley - About Face 2.0 The Essentials of Interaction Design 2003.chm
Wiley - Acrobat 6 BIBLE.pdf
Wiley - Active Directory Survival Guide.pdf
Wiley - Adobe Premiere Pro Bible.pdf
Wiley - Antipatterns - Refactoring Software Architectures and Proj
Wiley 1998 0-471-19713-0 .pdf
Wiley - Applied XML - A Toolkit for Programmers (1999).pdf
Wiley - Art of Deception The - Controlling The Human Element of
Security Wiley 2002 0-471-23712-4 .pdf
Wiley - Art of Software Architecture The - Design Methods and
Techniques Wiley 2003 0-471-22886-9 .chm
Wiley - Assembly Language Step by Step (1992).pdf
Wiley - AutoCAD 2004 Bible - 2003 PDF .rar
Wiley - AutoCAD 2004 Bible.pdf
Wiley - Building PDA Databases for Wireless and Mobile Development.pdf
Wiley - Building The Data Warehouse 3rd Ed.pdf
Wiley - Capital Instincts - 2003.pdf
Wiley - ColdFusion MX Bible (2003).pdf
Wiley - Data Structures and Algorithms with Object-Oriented Design
Patterns in C++.zip
Wiley - Developing Java Enterprise Applications.pdf
Wiley - Developing Web Applications with Visual Basic.NET and
ASP.NET.pdf
Wiley - Dreamweaver Certifcation Assesment Test.rar
Wiley - Dreamweaver MX Bible.pdf
Wiley - Dreamweaver MX e-Learning Toolkit.pdf
Wiley - DreamWeaver MX Weekend Crash Course (2002).pdf
Wiley - Dreamweaver MX Weekend Crash Course.zip
Wiley - EJB Design Patterns - Adv Patterns Processes and Idioms.pdf
Wiley - Essential Guide to User Interface Design The Wiley 2002
0-471-08464-6 .chm
Wiley - Ethernet Networks 4th.pdf
Wiley - Fireworks MX Bible.pdf
Wiley - Flash MX ActionScript For Designers.zip
Wiley - Flash MX Design for TV and Video - 2003 .pdf
Wiley - High Performance Client-Server.pdf
Wiley - Illustrated TCP-IP (1998).pdf
Wiley - In a Roman Kitchen. Timeless Recipes from the Eternal City.pdf
Wiley - Incident Response. Computer Forensics Toolkit.pdf
Wiley - Interscience Self Similar Network
Traffic.and.Performance.Evaluation.eBook-LiB.pdf
Wiley - Java Database Programming Bible (2002).pdf
Wiley - Java Enterprise Design Patterns (2002).pdf
Wiley - Java Pitfalls.chm
Wiley - Java Programming with CORBA (2001).pdf
Wiley - Java Tools for Extreme Programming (2002).pdf
Wiley - Leap! A Revolution in Creative Business Strategy - 2003.pdf
Wiley - Load Balancing Servers, Firewalls, and Caches.pdf
Wiley - Macromedia Dreamweaver MX Bible.pdf
Wiley - Making Use of Javascript.pdf
Wiley - Managing Cash Flow. An Operational Focus - 2003.pdf
Wiley - Managing Exports - Navigating the Complex Rules, Controls,
Barriers and Laws (2003).pdf
Wiley - Master Dreamweaver & Flash MX Visually (2002).pdf
Wiley - Mastering Enterprise JavaBeans.pdf
Wiley - Mastering Jakarta Struts.pdf
Wiley - Mastering Web Services Security - 2003 .pdf
Wiley - Microsoft Office Excel 2003 Bible (2003) Sample Files.rar
Wiley - Microsoft Office Excel 2003 Bible (2003).pdf
Wiley - Mobile Telecommunications Protocols For Data Networks
(2003).pdf
Wiley - More Java Pitfalls (2003).pdf
Wiley - MySQL and Java Developers Guide - 2003.pdf
Wiley - MySQL Bible.zip
Wiley - MySQL Enterprise Solutions (2000).pdf
Wiley - Office 2003 SuperBible Ebook (2003).pdf
Wiley - Office Excel 2003 Bible (2003).pdf
Wiley - Organizational Behavior - 7th Ed 2002.pdf
Wiley - Performance of Computer Communication Systems (1998).pdf
Wiley - Secure PHP Development - Building 50 Practical
Applications.pdf
Wiley - Six Sigma For Everyone - 2003.rar
Wiley - Software Testing Fundamentals.chm
Wiley - SQL Bible - 2003.chm
Wiley - SSL and TLS Essentials (2000).pdf
Wiley - The Application of Programmable DSPs in Mobile
Communications.pdf
Wiley - The Art of Software Architecture.chm
Wiley - The CISSP Prep Guide.pdf
Wiley - The Data Warehouse Toolkit 2nd Ed.pdf
Wiley - The Design And Implementation Of Geographic Information
Systems (2003).pdf
Wiley - UML Weekend Crash Course - 2002 .pdf
Wiley - UNIX Filesystems - Evolution, Design and Implementation.pdf
Wiley - Visual Blueprint Adobe Scripting.zip
Wiley - Where The Germs Are Wiley 2003 0-471-15589-6 .pdf
Wiley - Wireless Security Essentials (2002).pdf
Wiley - Xml Schema Essentials (2002).pdf
Wiley - XPath Essentials (2002).pdf
Wordware Publishing - ADO .NET Programming.chm
Wordware Publishing - Advanced 3D Game Programming with DirectX 9.0
(2003).chm
Wordware Publishing - Advanced Filemaker Pro 6 Web Development.chm
Wordware Publishing - C PlusPlus Builder 6 Developer*s Guide - 2003
..pdf
Wordware Publishing - Charlie Calvert*s Learn JBuilder.chm
Wordware Publishing - CORBA Networking with Java (1998).chm
Wordware Publishing - Delphi Graphics and Game Programming Exposed
with DirectX 7 [Ayres] 2002.pdf
Wordware Publishing - Filemaker Pro 6 Developers Guide to XML XSL -
2003 .chm
Wordware Publishing - Game Design Foundations.chm
Wordware Publishing - Java.1.4.Game.Programming.eBook.chm
Wordware Publishing - Learn Computer Game Programming with DirectX 7
[Parberry] 2000.rar
Wordware Publishing - Learn Encryption Techniques with BASIC and C++
(1998).chm
Wordware Publishing - Memory Management.chm
Wordware Publishing - Virtual Machine Design and Implementation in C
Wordware 2003 1-556-22903-8 .chm
Wordware Publishing - Wireless Game Development in C and C PlusPlus
With Brew - 2003 .chm
Wrox Press - Beginning Access 2002 VBA (2003).chm
Wrox Press - Beginning Dreamweaver MX.chm
Wrox Press - Beginning PHP4 - 2000 PDF.rar
Wrox Press - Beginning Visual Basic .NET Database Programming.pdf
Wrox Press - C++ Tutorial.chm
Wrox Press - Expert One-on-One J2EE Design and Development - 2003.chm
Wrox Press - J2EE Design Patterns Applied.pdf
Wrox Press - JavaScript Programmer*s Reference (2001).pdf
Wrox Press - Professional ADO.NET Programming.pdf
Wrox Press - Professional ASP.NET.pdf
Wrox Press - Professional PHP Programming.pdf
Wrox Press - Professional SQL Server 2000 Data Warehousing with
Analysis Services.pdf
Wrox Press - Professional XML Databases.pdf

Jul 22 '05 #4

P: n/a
On Mon, 2 Feb 2004 20:22:39 -0700, "Jonathan Turkanis"
<te******@kangaroologic.com> wrote:
"DrUg13" <li******@dieyoung.com> wrote in message
news:6v********************************@4ax.com.. .
In java, this seems so easy. You need a new object
Object test = new Object() gives me exactly what I want.

could someone please help me understand the different ways to do the
same thing in C++. I find my self sometimes, trying

Object app = Object();
Object *app = Object();
Object app = new Object();
randomly till something works... and this is bad because Im confused
what is happening, and the differences.
It's also bad because you can't always tell that something isn't
working. Things might look like they're working when in fact you have
memory leaks or you are accessing memory for an object which has been
destroyed but whose storage hasn't been cleaned up.

Really, I think you just figured out why I am asking the question.
You really need to learn the basic rules of the language before you
start programming. C++ is designed so that you can start programming
before you are familiar with each language feature, but you certainly
can't jump in from Java with no C++ background and hope to know what's
going on.

Jonathan

Whatever, I am a C++ programmer with college level courses in C++. I
Just have been doing a lot of Java lately and got a little confused.
In any matter, your post has not helped me at all.
Jul 22 '05 #5

P: n/a
"DrUg13" <li******@dieyoung.com> wrote...
I'm a CS senior in College... ANd I collect C++ books and subscribe to
safari. Some of my favorites are Deitel C++ programming, OReilly -
C++ in a Nutshell 2003, and my favorite Addison Wesley - The C++
Programming Language - 3rd Edition written by Bjarne himself..
The latter is something you should use daily. I'd also recommend
"Accelerated C++" by Koenig and Moo.
HEre is my ebook collection, which one is your favorite??
[...]
Addison Wesley - A Guide To Forensic Testimony.chm
This would be the one...

[...]

Jul 22 '05 #6

P: n/a

"DrUg13" <li******@dieyoung.com> wrote in message
news:la********************************@4ax.com...
On Mon, 2 Feb 2004 20:22:39 -0700, "Jonathan Turkanis" Whatever,
I never know what this is supposed to mean.
I am a C++ programmer with college level courses in C++. I
Just have been doing a lot of Java lately and got a little confused.
In any matter, your post has not helped me at all.


I didn't mean to insult your intelligence. You stated you were a Java
programmer, and asked some basic questions which would be natural for
a Java programmer looking at C++ for the first time. How could I guess
you had some college course in C++?

Jonathan

Jul 22 '05 #7

P: n/a
DrUg13 <li******@dieyoung.com> writes:
On Tue, 03 Feb 2004 03:03:27 GMT, "Victor Bazarov"
<v.********@comAcast.net> wrote:
"DrUg13" <li******@dieyoung.com> wrote...
In java, this seems so easy. You need a new object
Object test = new Object() gives me exactly what I want.
You are just can't want anything else in Java...
could someone please help me understand the different ways to do the
same thing in C++. I find my self sometimes, trying

Object app = Object();


This is OK. 'app' is an automatic object. You could do the same
thing without the '=' sign.

Object app;

declares (and often defines) an object of type 'Object' and default-
initialises it.
Object *app = Object();


This is most likely nonsense. You declared a _pointer_ to an object of
type Object and tried initialising it using a temporary of type Object.
Unless type Object has a user-defined conversion to Object*, it won't
work.
Object app = new Object();


This is the inverse of the above. You declared (and probably defined)
an _object_ of type Object and are trying to initialise it using the
'new' expression (which returns a pointer). Unless Object type has
a special constructor that takes an argument of type Object* (a pointer
to Object), it won't work.
randomly till something works... and this is bad because Im confused
what is happening, and the differences.


Have you tried a C++ book? If yes, which one? If not, why not?

I'm a CS senior in College... ANd I collect C++ books and subscribe to
safari. Some of my favorites are Deitel C++ programming,


Deitel & Deitel seems comforting and charming at first, but is in
fact riddled with errors and misconceptions.
OReilly -
C++ in a Nutshell 2003, and my favorite Addison Wesley - The C++
Programming Language - 3rd Edition written by Bjarne himself..
This last is the best of the 3. But you might need a different
approach; try Koenig & Moo's _Accelerated C++_ .

C++ is a complicated language that cannot be simply guessed. If you
really want to learn C++, _study_ it.

I'm always studing c++. Java just seems so easy, I think it is
confusing me.


Java has a good many features which seem similar to C++ features, but
due to radically different context, have suprisingly different
implications for programs. Don't write C++ the way you write
Java, and dont write Java the way you write C++.


class Object {};
int main()
{
Object obj; // declares and defines an instance of Object
// that has _automatic_ storage duration and
// will go away when the block in which it is
// defined, closes

Object *pobj = new Object; // declares and defines a pointer
// to Object and initialises it
// by creating a _dynamic_ object
// that will need to be destroyed at
// the end of your program by using
delete pobj; // ... the 'delete' keyword
}
Someone please help...
As a java programmer, I really like the new keyword.


Liking or disliking keywords is not a valid reason to use or not to
use them.

I just like the simplicity of it.


C++ new may seem similar, but the context is quite different:

(a) C++ allows user-defined types on the stack, as members, etc -
meaning many objects do not and should not be allocated with
new. This is unlike java which requires all objects of
user-defined type to allocated with new.

(b) C++ does not have garbage collection (well, the standard
allows it, and there is the boehm collector
http://www.hpl.hp.com/personal/Hans_Boehm/gc/ but I don't know
of an implementation that provides it by default.)

(c) C++ pointers are both more powerful and more error-prone than
java references.
Take my advice: get a good book on C++ and study.
Victor

Thanks Victor for taking the time to write such a detailed response.
You have cleared up som econfusion. I can tell you really know your
C++.
HEre is my ebook collection, which one is your favorite??

[snip]

www.accu.org has reviews of many of these.
Jul 22 '05 #8

P: n/a
On Tue, 03 Feb 2004 02:37:05 GMT in comp.lang.c++, DrUg13
<li******@dieyoung.com> was alleged to have written:

As a java programmer, I really like the new keyword.


I suggest that as a C++ programmer, until you consider yourself an
expert, that you view "new" with suspicion. You should be using it
rarely, when nothing else will do what you need. Typical C++ variable
declaration looks like
Object app;
or
Object app(construction arguments);

I'll bet you have to think for a while to think of a case where "new" is
a good idea in C++. Use the standard library classes heavily instead.

Jul 22 '05 #9

P: n/a
DrUg13 wrote:
In java, this seems so easy. You need a new object
Object test = new Object() gives me exactly what I want.

could someone please help me understand the different ways to do the
same thing in C++. I find my self sometimes, trying

Object app = Object();
Object *app = Object();
Object app = new Object();
randomly till something works... and this is bad because Im confused
what is happening, and the differences.
Someone please help...
As a java programmer, I really like the new keyword.


One of the assets of C++ is the ability to explicitly control how an
object is created and destroyed (some people call this a liability but
we know better). However C++ allows you to create some very interesting
code because of this but you don't get there unless you understand all
of the ways the compiler manages your objects.

I wrote some code below that shows most of the ways objects are created
and destroyed and some common errors.

struct Thing
{
int life_determined_by_Thing;
};

Thing globally_allocated_thing;

Thing * globallay_allocated_pointer_to_thing;

Thing * FunctionReturnsPointerToThing()
{

static Thing statically_allocated_constructed_on_first_call;
// this object dies on exit of the process (or
// unloading of function)

return & statically_allocated_constructed_on_first_call;
}

void DoThings()
{

Thing auto_allocated_thing_dies_on_return;

// The thing below dies when explicity delete ed
Thing * pointer_to_thing = new Thing;

return;
// pointer_to_thing is gone and the Thing it was
// pointing to can't be deleted any more - a memory
// leak.
}

void DoMore()
{

// THIS IS REALLY REALLY BAD - unpredictable and likely
// bad behaviour happens here
delete FunctionReturnsPointerToThing();
}

void DoAnotherThing( Thing temporary_copy )
{
// take the address of the parameter
Thing * pointer_to_thing = & temporary_copy;

// temporary_copy is destroyed after return from
// DoAnotherThing()
}
void DoMoreThings( Thing & reference_to_passed_variable )
{
// reference_to_passed_variable "points" to the parameter
// that is passed into this function.

// This makes a temporary thing and destroys it once
// the expression is complete
Thing();
}

Thing * ImaBroken()
{
Thing auto_allocated_thing_dies_on_return;

return & auto_allocated_thing_dies_on_return;
// OOPS - a stale pointer is being returned - the caller
// will get a surprise when they try to use the return value.
}

.... and I haven't covered lvalues, references, const references,
allowable optimizations and some funny constructor syntax multiple
inheritance and virtual inheritance and how they affect the way objects
are constructed and destroyed.

Oh - and trust me, the explicit control of how an object is destroyed is
really important as it can help you write some very interesting interfaces.
Jul 22 '05 #10

P: n/a

"Victor Bazarov" <v.********@comAcast.net> wrote in message news:3cETb.165446$sv6.901945@attbi_s52...
This is OK. 'app' is an automatic object. You could do the same
thing without the '=' sign.

Object app;

declares (and often defines) an object of type 'Object' and default-
initialises it.


Provided app is not POD unfortunately.
Jul 22 '05 #11

P: n/a
DrUg13 wrote:
I'm a CS senior in College... ANd I collect C++ books and subscribe to
safari.
Collecting books isn't sufficient. You also need to read them. I figured
that out some time ago, after I had too many unread books in the
shelf :)
Some of my favorites are Deitel C++ programming, OReilly -
C++ in a Nutshell 2003, and my favorite Addison Wesley - The C++
Programming Language - 3rd Edition written by Bjarne himself..
I read TC++PL special edition (well, most of it), and if you have some
previous knowledge and want to get all the details, it's good. It's
also quite good as a reference.
C++ is a complicated language that cannot be simply guessed. If you
really want to learn C++, _study_ it.

I'm always studing c++.


Studying C++ doen't mean to write programs in it by trial and error, but
rather by reading a good book about it. I've done the former for quite
some time, and it kind of works, but takes a lot more time, and after
years, you still get surprised by simple and basic properties of C++.
Java just seems so easy, I think it is confusing me.


class Object {};
int main()
{
Object obj; // declares and defines an instance of Object
// that has _automatic_ storage duration and
// will go away when the block in which it is
// defined, closes

Object *pobj = new Object; // declares and defines a pointer
// to Object and initialises it
// by creating a _dynamic_ object
// that will need to be destroyed at
// the end of your program by using
delete pobj; // ... the 'delete' keyword
}
Someone please help...
As a java programmer, I really like the new keyword.
Liking or disliking keywords is not a valid reason to use or not to
use them.

I just like the simplicity of it.


No. You don't actually like the keyword 'new' itself. You like the
simplicity of how it works in Java. 'new' in C++ is _very_ different
from 'new' in Java, and you _need_ to get the whole picture if you
don't want to produce memory leaks, buffer overflow vulnerabilities and
the like all the time.
Take my advice: get a good book on C++ and study.
Victor

Thanks Victor for taking the time to write such a detailed response.
You have cleared up som econfusion. I can tell you really know your
C++.


Those details are rather basic stuff, and if you didn't know them, it
should rather tell you that you don't really know C++.
HEre is my ebook collection, which one is your favorite?? CRC Press - Drug Abuse Handbook.pdf


That one, if it also tells how to use those correctly :)
Jul 22 '05 #12

This discussion thread is closed

Replies have been disabled for this discussion.