Skip to main content

C++ All-in-One Desk Reference For Dummies

C++ All-in-One Desk Reference For Dummies

Jeff Cogswell

ISBN: 978-0-764-51795-2

Jan 2003

864 pages

Select type: Paperback

Product not available for purchase


There are almost as many programming languages these days as there are dialects at a Washington cocktail party. Among them all, however, C++ remains a favorite, especially for beginners. C++ is fast, powerful, fully compiled, and portable. If you’ve thought about learning programming, it’s a great place to start. And if you’re already experienced with C++, you probably know a well-organized reference guide makes a programmer’s life a lot easier.

C++ All-In-One Desk Reference For Dummies is a guide that grows with you. It’s organized into seven convenient minibooks, each devoted to a particular aspect of C++. So whether you’re a beginner just learning the lingo, or a veteran who wants to find out how to write a Web service in C++ .NET by using the Managed Extension to C++ (and who actually knows what that means!) you can find the answers quickly and easily.

If you’re about to venture into C++ programming for the first time, Minibook I begins at the beginning and covers all the basic stuff you need to know. You’ll be ready to join the big kids when you reach the subsequent minibooks, which cover

  • Understanding objects and classes, including UML and design patterns
  • Fixing problems, debugging your code, and choosing a good debugger
  • Advanced C++ programming
  • Reading and writing files, with coverage of stream programming
  • C++ .NET, which shows you how to program for Microsoft’s latest product, create Web services, build assemblies, and more
  • Visual Studio 6.0 and MFC, featuring a discussion of writing software for Windows with Microsoft Foundation classes

No matter how accomplished a C++ programmer you are – or aren’t – there will always be times when you need a reference guide. C++ All-In-One Desk Reference For Dummies gets you started with C++ programming, takes you as far as you want to go, and makes it easy to find out more whenever you want.


Book I: Introducing C++.

Chapter 1: Creating a First C++ Program.

Chapter 2: Storing Data in C++.

Chapter 3: Directing Your C++ Program Flow.

Chapter 4: Dividing Your Work with Functions.

Chapter 5: Dividing Between Source-Code Files.

Chapter 6: Referring to Your Data Through Pointers.

Chapter 7: Working with Classes.

Chapter 8: Using Advanced C++ Features.

Book II: Understanding Objects and Classes.

Chapter 1: Planning and Building Objects.

Chapter 2: Describing Your Program with UML.

Chapter 3: Structuring Your Classes with UML.

Chapter 4: Demonstrating Behavior with UML.

Chapter 5: Modeling Your Programs with UML.

Chapter 6: Building with Design Patterns.

Book III: Fixing Problems.

Chapter 1: Dealing with Bugs.

Chapter 2: Debugging a Program.

Chapter 3: Stopping and Inspecting Your Code.

Chapter 4: Traveling About the Stack.

Book IV: Advanced Programming.

Chapter 1: Working with Arrays, Pointers, and References.

Chapter 2: Creating Data Structures.

Chapter 3: Constructors, Destructors, and Exceptions.

Chapter 4: Advanced Class Usage.

Chapter 5: Creating Classes with Templates.

Chapter 6: Programming with the Standard Library.

Book V: Reading and Writing Files.

Chapter 1: Filing Information with the Streams Library.

Chapter 2: Writing with Output Streams.

Chapter 3: Reading with Input Streams.

Chapter 4: Building Directories and Contents.

Chapter 5: Streaming Your Own Classes.

Book VI: C++ .NET.

Chapter 1: In a .NET Frame of Mind.

Chapter 2: Moving About in Visual Studio.

Chapter 3: All About Strings.

Chapter 4: Managing Your Objects.

Chapter 5: Taking Managed Extensions Farther.

Chapter 6: Programming for Events.

Chapter 7: Building Forms in .NET.

Chapter 8: Managing Files in .NET.

Chapter 9: Building the Famous Web Services.

Chapter 10: Building and Managing Assemblies.

Book VII: Visual Studio 6.0 and MFC.

Chapter 1: Creating Visual Studio Projects.

Chapter 2: Manipulating and Debugging Projects.

Chapter 3: Editing with Wizardry.

Chapter 4: Just Browsing, Thank You.

Chapter 5: Creating Windows Programs with MFC.

Chapter 6: Adding Controls in MFC.

Book VIII: Appendixes.

Appendix A: Automating Your Programs with Makefiles.

Appendix B: About the CD-ROM.


End-User License Agreement.


The file, ActiveTclx.x.x.x-win32-ix86.exe, used to install Tlc/Tk is missing from the CD-ROM. However, the installation file can be found at the website,