Overview
Syllabus
- Introduction
- Installing g++
- C++ Concepts
- More C++ Concepts
- Using Directive and Declaration
- Variable Declaration and Initialization
- Using Variables with cout
- User Input with cin
- Conventions and Style Guides
- Intro to Functions
- Intro to Creating Custom Functions
- Pow Function
- Creating Custom Functions
- Creating Void Functions
- Intro to C++ Data Types
- Integral Data Types and Signed vs Unsigned
- Integral Data Types, sizeof, limit
- char Data Type
- Escape Sequences
- bool Data Type
- Floating Point Numbers
- Constant const, macro, and enum
- Numeric Functions
- String Class and C Strings
- get line for Strings
- String Modifier Methods
- String Operation Methods
- Literals
- Hex and Octal
- Operator Precedence and Associativity
- Reviewing Key Concepts
- Control Flow
- If Statement Practice
- Logical and Comparison Operators
- Switch Statement and Enum
- Intro to Loops
- For Loops How to Calculate Factorial
- While Loop and Factorial Calculator
- Do While Loop
- Break and Continue
- Conditional Operator
- Intro to Our App
- Creating a Menu
- Creating a Guessing Game
- Intro to Arrays and Vectors
- Working with Arrays
- Passing Arrays to Functions
- Fill Array from Input
- Using and Array to Keep Track of Guessing
- Intro to Vectors
- Creating a Vector
- Passing Vectors to Functions
- Refactor Guessing Game to Use Vectors
- STL Array
- STL Arrays in Practice
- Refactor Guessing Game to Use Templatized Array
- Array vs Vector vs STL Array
- Range Based for Loop
- Intro to IO Streams
- Writing to Files with ofstream
- Readings from Files with ifstream
- Saving High Scores to File
- Functions and Constructors
- Refactoring IO to Function Call and Testing
- Multidimensional Arrays and Nested Vectors
- Const Modifier
- Pass by Reference and Pass By Value
- Swap Function with Pass by Reference
- Intro to Function Overloading
- Function Overloading Examples
- Default Arguments
- Intro to Multifile Compilation
- Multifile Compilation
- Makefiles
- Creating a Simple Makefile
- Intro to Namespaces
- Creating a Namespace
- Intro to Function Templates
- Creating a Function Template
- Overloading Function Templates
- Intro to Object Oriented Programming
- Intro to Structs
- Creating a Struct
- Classes and Object
- Creating a Class
- Working with Objects
- Intro to Constructors
- Constructors and Destructors
- Encapsulation
- Getters and Setters
- Static Data Members
- Intro to Operator Overloading
- Operator Overloading == and +
- Overloading Insert and Extraction Operators
- Friend Functions and Operator Overloading
- Class Across Files
- Inheritance and Polymorphism
- Base Classes and Subclasses Inheritance
- Polymorphism
- Conclusion
Taught by
Caleb Curry