CSC 160 - Chapter 2 Quick Reference

Chapter 2 "Introduction to C++"

This chapter dips your big toe into the large pool of the C++ language.

General Terms

case-sensitive variable definition assignment constant
identifier ASCII scope of a variable modulus
order of operations

C++ Syntax/Constructs

#include cout, standard output object <<, stream insertion operator comments (//)
endl \n, escape sequence =, assignment operator int
short long unsigned char
string class float bool sizeof
arithmetic operators (+, -, *, /, %)

Concepts

Important concepts covered include:


Disclaimer: The goal of this "cheat sheet" is to review the more important concepts in the chapter. The exclusion of any material in the chapter from this "cheat sheet" does not mean that you are not responsible for that material.