| topic |
examples |
book chapters |
lecture recordings |
| CSIA |
|
introduction, history of C++, C++ program outline
|
|
1.1-1.3 |
intro |
| first program, development environment
| hello world, area |
1.3-1.4 |
|
variables, identifiers, assignment, input/output
|
|
2.1-2.2 |
variables |
|
types, expressions, more on assignment
|
increment/decrement, digits |
2.3 |
types |
| boolean algebra, boolean and
relational operators, branching constructs
|
order, toll, largest |
2.4, 3.1-3.2 |
| iterative constructs: while, do-while, for
|
max, odometer, liftoff
| 2.4, 3.3-3.4 |
branching,loops
|
programming style, comments, naming programs
predefined functions (library functions)
|
doghouse, equation, time and random |
2.5, 4.2 |
predefined functions |
| programmer-defined functions,
local and global variables, call-by-value |
add1, circle area |
4.3,4.5 |
pogrammer-defined functions |
| separate files, independent compilation,
header files
|
add1 in separate files |
12.1 |
separate files |
| void-functions, predicates, call-by-reference
| stack example, swap'em, valueVSreference, predicated greeting |
5.1, 5.2, 14.1 |
| defining arrays, arrays with for-loops,
passing arrays as arguments,
|
initialize array, pass as parameter
|
7.1-7.2 |
arrays |
| strings |
finding in/updating/passing as parameters/etc. |
8.1,8.2
|
| file input/ouput |
sum of three numbers, setw, cerr, to_string, stoi, reading lines from file |
6.1 |
| . |
| CSIB |
| structures
| simple, complex, passing as parameters, using with arrays |
10.1 |
structures,
structures II
|
| classes |
simple, constructors, inline functions,
friend functions |
10.2 |
classes
|
| pointers |
pointer usage |
9.1 |
pointers I
|
| dynamic memory allocation
|
dynamic memory
|
9.2 |
dynamic memory I
dynamic memory II
|
| objects with dynamically allocated members
|
dynamic objects
|
11.4 |
dynamic members
|
| vectors |
elementary operations, size change,
use with functions, iterators |
8.3, 18.1 |
vectors I
vectors II
|
| multidimenstional arrays, vectors of vectors |
index counting, multiplication table, ragged array
|
7.4 |
| namespaces |
defining, std |
12.2 |
| recursion |
factorial, write vertical, sum, reverse |
14.1 |
| diagrams |
|
OMT,
UML |
| exception handling |
exceptions |
16.1,16.2 |
|