C++ For Dummies Extras

Sorted by:  

C++ All-In-One For Dummies Cheat Sheet

C++ is a popular programming language because it’s powerful, fast, easy to use, standardized, and more. Whether you are new to C++ programming or an advanced user, check out the following information on [more…]

C++: Creating Documentation with Doxygen

Most programmers hate to create documentation even more than they hate to comment their own code. Enter Doxygen, which enables programmers to embed tags in the comments that can later be extracted to create [more…]

C++ for Dummies Cheat Sheet

Understanding and running C++ programming, which is the standard for object-oriented languages, is easier when you know the expressions, declarations, and operators to perform calculations. [more…]

Using printf() for Output

Most examples you see of C++ use the so-called stream output for the code. Stream output uses the << operator, as shown in this example: [more…]

Stopping at and Resuming from a Breakpoint

Learning to use the debugger is one of the most important things that you can do to up your C++ game. What follows are the steps necessary to set a breakpoint, stop your program, examine a few variables [more…]

Writing Custom I/O

Some programmers aren't big fans of overloading the standard operators for user-defined C++ classes. This includes writing custom inserters and extractors. However, many programmers prefer creating their [more…]

10 Ways to Customize Code::Blocks

Code::Blocks comes with default settings that are the most natural for most C++ applications; however, as you start spending more and more time in the environment, you may find that Code::Blocks can be [more…]

Source Code from C++ For Dummies

Click here for the downloadable source code from C++ For Dummies, 7th Edition, and the free, open source Code::Blocks environment and GCC C++ compiler used in the book. Use this code to work along with [more…]

How to Create a New Code::Blocks Project that Includes a Header

Many C++ newbies want to create the projects they find in books by typing in the code they come across to better see how the process works. However, sometimes just getting the project started can be a [more…]

Attaching to a Running Process Using Code::Blocks

Every time you start a new application, you create one or more processes. A process is simply executable code that is loaded into memory. The CPU reads and executes the instructions to perform the tasks [more…]

Using a Dynamic Array with a Structure

Static arrays are allocated on the stack, which can limit their usability. Dynamic arrays are allocated on the heap, which means they're only limited by the size of memory. Admittedly, you'll find a few [more…]

Working with Configuration Files

Most applications require some level of configuration. The user or administrator selects application options or the application itself detects environmental needs. The kinds of input for configuration [more…]

Using Duplicate Keys with a multimap

A map provides a method for quickly working with lists of data in such a manner that you can access each element easily with a key. Using a map is convenient because you can access the items in a random [more…]

Code Examples for C++ All-in-One For Dummies, 3rd Edition

Click here to download the code example files for C++ All-in-One For Dummies, 3rd Edition. These files contain all the sample code from the book. Use them to work through all the C++ sample applications [more…]

Sign Up for RSS Feeds

Computers & Software

Inside Dummies.com