C++ syntax
This page is a reference for C++ syntax that corresponds to topic coverage for CS 135 and CS 202. The topics are arranged to mirror the chronological order that they are covered in for those two courses, 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 - a basic first program in C++
- Comments - how and why to comment your code
- Basic data types - details on
int
,double
,char
,bool
, and more - Variables - identifiers, declaration, initialization