Syllabus
Object-Oriented Programming in C++
The eight units of an object-oriented programming course in C++. Every program compiles cleanly under C++17 and shows its real output.
Start Unit 1
0/42 programs done
1. Type it with the code on screen, and the AI explains each line. 2. Write it from memory with the code hidden. A wrong key shows you the right character, and mistakes are free. When you can do step 2, you can write it in your lab practical.
Unit 1Introduction to Object Oriented Programming
Unit 2Basics of C++ Programming
- Namespace ProgramFrom memory
- Input Output ManipulatorsFrom memory
- Type Conversion ProgramFrom memory
- New and Delete ProgramFrom memory
- Function Overloading ProgramFrom memory
- Inline Function and Default ArgumentsFrom memory
- Pass by Reference and Return by ReferenceFrom memory
- Scope and Storage Class ProgramFrom memory
- Pointers, Arrays and FunctionsFrom memory
Unit 3Classes and Objects
Unit 4Operator Overloading
Unit 5Inheritance
Unit 6Virtual Function, Polymorphism and Miscellaneous Features
Unit 7Function Templates and Exception Handling
Unit 8File Handling
- Unformatted Input OutputFrom memory
- Formatting with ios Member FunctionsFrom memory
- Stream Operator OverloadingFrom memory
- File Read and Write with StreamsFrom memory
- Random Access File with seekg and tellgFrom memory
- Testing Errors During File OperationsFrom memory
- Binary File Object Read and WriteFrom memory
Modern C++ beyond the syllabus
- Class ExampleFrom memory
- Inheritance ExampleFrom memory
- Lambda ExampleFrom memory
- Smart Pointer ExampleFrom memory
- Template Function ExampleFrom memory
- Exception HandlingFrom memory
- STL Map ExampleFrom memory
- Constexpr ExampleFrom memory
- Move Semantics ExampleFrom memory
- Enum Class ExampleFrom memory
- STL Vector ExampleFrom memory
- STL Set ExampleFrom memory
- Lambda for STL ExampleFrom memory
- Smart Pointer Shared ExampleFrom memory
- Move Constructor ExampleFrom memory
- Vector Sorting ExampleFrom memory
- Range-Based For LoopFrom memory
- Struct InitializationFrom memory
- Optional ExampleFrom memory
- File Reading ExampleFrom memory
- Set ExampleFrom memory
- Pair ExampleFrom memory
- Mutex Lock ExampleFrom memory
- Thread ExampleFrom memory
- Vector Push ExampleFrom memory
- Map Find ExampleFrom memory
- Queue ExampleFrom memory
- Stack ExampleFrom memory
- Variant ExampleFrom memory
- Tuple ExampleFrom memory
- Unique Lock ExampleFrom memory
- Condition Variable ExampleFrom memory
- StringStream ExampleFrom memory
- Binary Search ExampleFrom memory
- Accumulate ExampleFrom memory
- Find_if ExampleFrom memory
- Reduce ExampleFrom memory
- Algorithm Transform ExampleFrom memory
- Array ExampleFrom memory
- Deque ExampleFrom memory
- Priority Queue ExampleFrom memory
- Bitset ExampleFrom memory
- Chrono Timer ExampleFrom memory
- Function Pointer ExampleFrom memory
- Recursion ExampleFrom memory