CIS 250 - Demonstration Programs
- demoref.cpp: demonstration of reference variable
- demobyref.cpp: demonstration of old way of passing references using pointers
- demostruct1.cpp: demonstration of struct usage
- demostruct2.cpp: nested structs and an array of structs
- Point.cpp: simple class demonstration
- democlass1.cpp: demonstration of class usage
- democlass2.cpp: using header files with classes
- Demonstration of many class techniques including dynamic memory allocation
- Updated person class including operator overloading, friend functions, and a copy constructor
- polytest.cpp: demonstration of inheritance, polymorphism, and virtual functions
- example program that covers classes, vector, heapsort, and file input
- parts.txt: sample data for example03.cpp program
Array, vector, stack, queue, deque
Variable and default arguments, overloading functions and operators, templating
- testEnum.cpp: enumeration demonstration
- Demonstration of namespaces