C++ Programming Guide
Sacramento City College
Revised Edition
Fall 2025
Introduction
Welcome! Each section of this guide covers a different programming topic and is written with the assumption that you are familiar with the previous sections.
Contents
1. What Does “Implement a Program” Mean?
2. What Do C++ Programs Look Like?
3. Variables
4. Screen Output and Keyboard Input
5. Calculations
6. Constants
7. Types of Problems
8. Control Structures
9. Boolean Expressions and Compound Conditions
10. If Statements
11. Switch Statements
12. Do Loops
13. While Loops
14. For Loops
15. Functions
16. Testing and Debugging
17. Arrays
18. File Input and Output