C++ syntax
This page is a reference for C++ syntax that corresponds to topic coverage for CS 135. The topics are arranged to mirror the chronological order that they are covered this course, but note that each instructor may cover topics in a different order, not cover topics listed here, or cover topics that are not listed here.
CS 135 topics
- Hello world
- Comments
- Basic data types
- Variables, expressions, and operators
- switch and case
- continue and break
- assert
- Ternary operator
- Function overloading
- Default function parameters
- Static variables
- enum
- typedef
- C-strings
- Multidimensional arrays
- istringstream (this is not in the textbook)
- Command line arguments (this is not in the textbook)