c++ program layout, literals and variables, common errors and debugging