Course 'CS205 C/C++ Program Design' in 2021 Fall at Southern University of Science and Technology. The lecture videos can be found at https://www.bilibili.com/video/BV1Vf4y1P7pq
- The first example
- Different programming languages
- Compile and link
- Preprocessor and macros
- Simple input and output
- Integer numbers
- More integer types
- Floating point numbers
- Arithmetic operators
if
statement- Conditions
while
loopfor
loopgoto
switch
- Arrays
- Strings
- Structures unions and enumerations
typedef
- Pointers
- Pointers and arrays
- Allocate memory in C style
- Allocate memory in C++ style
- Functions
- Function parameters
- References
return
statementinline
function
- Default arguments
- Function overloading
- Function templates
- Function pointers and references
- Recursive functions
- C and C++ with ARM
- Speedup your program
- An example with SIMD and OpenMP
- Avoid memory copy in OpenCV
- Classes and objects
- Constructors and destructors
this
pointerconst
andstatic
members
- Operators in OpenCV
- Operator overloading
- Friend functions
- User defined type conversion
- Increment and decrement operators
- Some default operations
- An example with dynamic memory
- Solution1: Hard copy
- Solution2: Soft copy
- Smart pointers
- Improve your source code
- Derived class
- Access control
- Virtual functions
- Inheritance and dynamic memory allocation
- Examples in opencv
- Class template
- Template non-type parameters
- Class template specialization
std
classes
- Standard output stream and standard error stream
assert
- Exceptions
- More about exceptions
nothrow
- Friend classes
- Nested types
- RTTI and type cast operators
- Mr. Yitong Wang's repo for the course in Fall 2020. https://github.com/YeeTone/CS205-2020Fall