Demo Code
This page stores the source code I used in entry level C++ programming course. The sequence of demos are:
hello.cpp
typeVariable.cpp
branch.cpp
function.cpp
call.cpp
call by value, call by reference, call by pointer
resistors.cpp
This is specifically used for EE students.
Note that the default argument for serial and parallel functions are quite different.
array.cpp