Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Please follow the instructions in this section to download the book’s examples before you begin using this book.
The examples for C++ How To Program, Sixth Edition can be downloaded as a ZIP archive file from www.deitel.com/books/cpphtp6/. After you register and log in, click the link for the examples under Download Code Examples and Other Premium Content for Registered Users. Save the ZIP file to a location that you’ll remember. Extract the example files to your hard disk using a ZIP file extractor program, such as WinZip (www.winzip.com). [Note: If you are working in a computer lab, please consult your instructor to determine where you can save the example code.]
The CD that accompanies this book includes the version of Microsoft® Visual C++® Express integrated development environment (IDE) that was available at the time of this printing. To get the most recent release of this IDE, visit msdn.microsoft.com/vstudio/express/visualc/default.aspx.
If you have a computer running Windows XP or Windows Vista, you can install Visual C++ Express to edit, compile, execute, debug and modify your programs. When you insert the CD in your computer, the Visual C++ Express installation program will start automatically. Follow the on-screen instructions to install Visual C++ Express. We recommend that you use the default installation options and select the option to install the documentation as well.
If your computer has Linux or Mac OS X, then you probably already have the GNU C++ command-line compiler installed. There are many other C++ compilers and IDEs. We provide links to various free C++ development tools for Windows, Linux and Mac OS X platforms in our C++ Resource Center at
This Resource Center also links to online tutorials that will help you get started with various C++ development tools.
You are now ready to begin your C++ studies with C++ How to Program. We hope you enjoy the book! You can reach us easily at deitel@deitel.com. If you have any questions, please feel free to email us at deitel@deitel.com. We’ll respond promptly.