C++

View:  
Sorted by:  

Source Code from Beginning Programming with C++ For Dummies

Look no further for the downloadable source code from Beginning Programming with C++ For Dummies, 2nd Edition, and the free, open source Code::Blocks environment and GCC C++ compiler used in the book. [more…]

Multiple Inheritance in C++

If one C++ class can inherit from another, then the question immediately arises, "Can a class inherit from two (or more) classes?" The answer in is an unqualified [more…]

Strongly Typed Enumerations in C++

Programming is all about legibility. It's difficult (actually it's impossible) to write and maintain a program that you can't read. Part of reading a source-code listing is understanding what the numbers [more…]

Abstract Classes and C++

C++ supports late binding, which is when it resolves a method call based on the run-time type (or dynamic type) of the target object rather than its declared type [more…]

The 10 Most Common Beginner Programming Mistakes

As a beginning C++ programmer, you may never recognize mistakes that you make. All you notice is that it takes a lot longer to write and debug your programs. Even then, once the programs are deployed they [more…]

Templates in C++

C++ is an example of a strongly typed programming language. It's this strong typed-ness that allows functions to be overloaded, as shown in the following code snippet: [more…]

Stream Formatting with I/O Manipulators

One of the difficulties with C++ in moving to stream objects for output is learning how to format the output. There are actually two ways to format-stream I/O. [more…]

How to Read a Complex C++ Expression

C++ is full of little symbols, each of which adds to the meaning of expressions. The rules of C++ grammar are so flexible that these symbols can be combined in almost impenetrably complex combinations. [more…]

5 Ways to Avoid Pointer Problems in C++

In C++, a pointer is a variable that contains the address of an object in the computer's internal memory. Use these steps to avoid problems with pointers in C++: [more…]

How and When to Make Deep Copies in C++

Classes that allocate resources in their constructor should normally include a copy constructor to create copies of these resources. Allocating a new block of memory and copying the contents of the original [more…]

Beginning Programming with C++ For Dummies Cheat Sheet

C++ isn't an easy programming language to master. Only through experience will the myriad combinations of symbols start to seem natural to you. This Cheat Sheet, however, gives you some solid tips on easing [more…]

Listings:back...101-110

Sign Up for RSS Feeds

Computers & Software
Great Gadget Giveaway -- Enter to Win!

Inside Dummies.com