< Previous | Contents | Next >

Understanding the ISO Standard

The ISO standard for Cþþ is a definition of Cþþ that describes exactly how the language should work. It also defines a group of files, called the standard library, that contain building blocks for common programming tasks, such as I/Ogetting input and displaying output. The standard library makes life easier for programmers and provides fundamental code to save them from reinventing the wheel. Ill be using the standard library in all of the programs in this book.


Hin t

image

The ISO standard is often called the ANSI standard or ANSI/ISO standard. These different names involve the acronyms of the various committees that have reviewed and established the standard. The most common way to refer to Cþþ code that conforms to the ISO standard is simply Standard Cþþ.

image


I used Microsofts Visual Cþþ 2010 Express Edition to develop the programs in this book. The compiler thats a part of this IDE is pretty faithful to the ISO standard, so you should be able to compile, link, and run all of the programs using some other modern compiler as well. However, if youre using Windows, I recommend using Visual Cþþ.


Hin t

image

For step-by-step instructions on how to create, save, compile, and run the Game Over program using Microsoft Visual Cþþ 2010 Express Edition, check out Appendix A. If you’re using another compiler or IDE, check its documentation.

image