Exam1 Topics ------------------------------------------------------- UNIX commands Chapter 2 --------------------------------- C++ Syntax Data types const variables Chapter 3 --------------------------------- Data types Function calls Library functions Void functions Formatting output Chapter 4 --------------------------------- File input Verifying the file opened correctly Closing a file Reading marker Extraction operator (>>) get() ignore() getline() File output Chapter 5 --------------------------------- bool data type if statements Short circuiting Chapter 6 --------------------------------- while statements Chapter 7 --------------------------------- switch statements do while statements for statements casting sizeof operator Conditional operator (?:) Operator precedence Chapter 8 --------------------------------- Functions Arguments Parameters return statements Pass-by-value parameters Pass-by-reference parameters Chapter 9 --------------------------------- Scope of variables Namespaces Lifetime of variables Chapter 10 --------------------------------- typedef statements enums structs Pointers References Chapter 11 --------------------------------- Arrays (one-dimensional)