The cpp0 directory is intended as an introduction to C++ for existing programmers who are familiar with Java & C. In CSC240 we will cover modules cpp0-cpp3. In CSC220 we cover all 6 modules.
Each directory contains multiple C++ files. CSC240 will cover through cpp3, CSC220 will cover all the examples.
-
cpp0: Introduction to C++ - An introduction to C++, C++ style I/O, writing C++ classes
-
cpp1: OOP with C++ - Object-Oriented Programming with C++, polymorphism, virtual functions, strings, booleans, references
-
cpp2: C++ Memory Management - Destructors, copy constructors, Rule of 3, structs vs. classes, and using header files with C++
-
cpp3: Operator Overloading, STL (Vectors & Maps) - Overloading operators, virtual destructors, C++ STL, vectors, maps, & algorithms
-
cpp4: Templates & friends - templates, friends, variadic templates, reading from a file, the explicit modifier
-
cpp5: Modern C++ - Rule of 5, smart pointers, exceptions, variants, & namespaces