Difference between revisions of "COMP345 Fall 2020 Midterm coverage"
From Dr. Joey Paquet Web Site
(Created page with "*Slide Set 0 **none *Slide Set 1: **program structure **compilation unit **header/cpp files **includes **redundant includes **namespaces *Slide Set 2: **structs and classes ...") |
|||
Line 65: | Line 65: | ||
***memory allocation model | ***memory allocation model | ||
***passing as parameters | ***passing as parameters | ||
− | **dynamically allocated arrays (one | + | **dynamically allocated arrays (one-dimensional) (multidimensional - X) |
***declaration, usage | ***declaration, usage | ||
***memory allocation model | ***memory allocation model | ||
Line 71: | Line 71: | ||
**array decay into a pointer | **array decay into a pointer | ||
**static array classes | **static array classes | ||
− | **STL containers | + | **STL containers (X) |
− | ***declaration, usage | + | ***declaration, usage (X) |
− | ***iterators | + | ***iterators (X) |
Revision as of 09:17, 20 October 2020
- Slide Set 0
- none
- Slide Set 1:
- program structure
- compilation unit
- header/cpp files
- includes
- redundant includes
- namespaces
- Slide Set 2:
- structs and classes as data types
- variable initialization
- implicit/explicit type coercion
- static_cast, dynamic_cast
- upcasting/downcasting
- conversion sequences
- pointers
- pointer artithmetic
- pointers and const
- void/wild/dangling/null pointers
- stack/heap/new/delete
- arithmetics
- references
- smart pointers
- parameter passing
- strings
- Slide Set 3:
- input/output streams
- cin/cout
- files stream declarations, open/close, usage
- << and >> operator overloading
- not covered: MFC serialization
- Slide Set 4:
- classes vs. structs
- struct usage
- class declarations (.h and .cpp files)
- declaring/using objects
- with or without pointers
- inline functions/methods
- const specifier
- static specifier
- friends
- constructors/destructors
- declaration/implementation
- initialization list
- implicit/explicit constructor calls
- call chain
- inheritance
- overriding/overloading
- vs. constructor/destructor implementation
- assignment operator
- copy constructor
- shallow/deep copy
- multiple inheritance
- virtual inheritance
- diamond problem
- Slide Set 5:
- statically allocated arrays (one or multidimensional)
- declaration, usage
- memory allocation model
- passing as parameters
- dynamically allocated arrays (one-dimensional) (multidimensional - X)
- declaration, usage
- memory allocation model
- passing as parameters
- array decay into a pointer
- static array classes
- STL containers (X)
- declaration, usage (X)
- iterators (X)
- statically allocated arrays (one or multidimensional)