C++ Syntax and Semantics, and The Program Development Process

 

I.  The Elements of C++ Programs

A.  C++ Program Structure

B.  Syntax and Semantics

C.  Theoretical Foundations: Meta Languages

D.  Syntax Templates

E.  Naming Program Elements: Identifiers

F.  Matters of Style: Using Meaningful, Readable Identifiers

G.  Data and Data Types

1.  Overview of C++ Data Types

2.  Background Information: Data Storage

3.  Integral Types

4.  More about the char Type

5.  Floating Point Types

H.  Naming Elements: Declarations

1.  Variables

2.  Constants

3.  Software Engineering Tip: Using Named Constants

4.  Matters of Style: Capitalization of Identifiers

I.  Taking Action: Executable Statements

1.  Assignment

2.  Increment and Decrement

3.  Output

J.  Beyond Minimalism: Adding Comments to a Program

II.  Program Construction

A.  Blocks (Compound Statements)

B.  The C++ Preprocessor

III.  Program Entry, Correction, and Execution

A.  Entering a Program

B.  Compiling and Running a Program

C.  Software Engineering Tip: Understanding Before Changing

D.  Finishing Up

IV.  Testing and Debugging Hints

V.  Summary