List of Figures

Chapter 1: How a C++ Program Works

Figure 1-1: C++ program outputting Hello World! to the screen
Figure 1-2: Creating a New Project
Figure 1-3: Starting the Win32 Application Wizard
Figure 1-4: Win32 Application Wizard after choosing Application Settings
Figure 1-5: Windows Explorer showing newly created subfolder and files
Figure 1-6: Viewing your project with Solution Explorer
Figure 1-7: Source Files shortcut menu
Figure 1-8: Adding a New Source File to your Project
Figure 1-9: Solution Explorer showing the new .cpp file
Figure 1-10: The source file before typing code
Figure 1-11: The source file after typing code
Figure 1-12: The Task List window showing a compilation error
Figure 1-13: The error highlighted in the code window

Chapter 2: Memory and Data Types

Figure 2-1: Sequence of memory addresses
Figure 2-2: A sequence of memory addresses, each with a byte value
Figure 2-3: Storage in memory of 65365 in decimal as an unsigned short data type
Figure 2-4: Storage in memory of 65365 in decimal as an unsigned int data type
Figure 2-5: Opening the Existing Solution
Figure 2-6: Showing the Existing Source File in Solution Explorer
Figure 2-7: Remove option on Shortcut Menu
Figure 2-8: Adding a New Source File to your Project
Figure 2-9: Solution Explorer showing the new .cpp file

Chapter 3: Variables

Figure 3-1: Memory reserved for declared variables
Figure 3-2: Overflow
Figure 3-3: Underflow

Chapter 5: Making Decisions: if and switch Statements

Figure 5-1: Commonly used flowchart symbols
Figure 5-2: Flowchart of the program adding preregistered and added students
Figure 5-3: Flowchart of a program that determines whether a number is even
Figure 5-4: Flowchart of program output if number is even or odd
Figure 5-5: Flowchart depiction of grading program
Figure 5-6: Flowchart depiction of the grade determination program

Chapter 6: Nested if Statements and Logical Operators

Figure 6-1: Flowchart of the voting eligibility program
Figure 6-2: Flowchart of the movie admission program

Chapter 9: Functions

Figure 9-1: Order of execution of the Hello World Program
Figure 9-2: The passing of the function argument
Figure 9-3: The order of execution of the return value of a function

Chapter 10: Arrays

Figure 10-1: Indices of a three-element integer array

Chapter 11: Whats the Address? Pointers

Figure 11-1: Pointer pointing to an integer variable
Figure 11-2: Variable and constant pointers used to access array elements
Figure 11-3: Effect of incrementing or adding 1 to an address

Chapter 12: Character, C-String, and C++ String Class Functions

Figure 12-1: The input buffer when only the enter key is pressed
Figure 12-2: The input buffer after typing the letter x and pressing the enter key
Figure 12-3: The input buffer after cin.ignore()
Figure 12-4: Why pressing the enter key twice is required
Figure 12-5: The input buffer after cin >> courseNum followed by cin.getline( name ,80)

C++ Demystified(c) A Self-Teaching Guide
C++ Demystified(c) A Self-Teaching Guide
ISBN: 72253703
Year: 2006
Pages: 148 © 2008-2017.
If you may any questions please contact us: