This section covers the following intermediate C++ topics:
- String Manipulations - Demonstrates
std::stringoperations like declaration, access, concatenation, length, substrings, and finding. - STL Vectors - Covers
std::vectorusage including initialization, adding/removing elements, access, size/capacity, and iteration. - STL Maps - Shows
std::mapfor key-value pairs, including insertion, access, checking existence, iteration, and removal. - STL Sets - Explains
std::setfor unique sorted elements, covering insertion, existence checks, iteration, removal, and basic set operations. - File I/O - Demonstrates file input/output using
std::ifstreamandstd::ofstreamfor reading and writing text files. - Error Handling (Exceptions, RAII) - Covers
try-catchblocks, throwing/catching standard and custom exceptions, and RAII principles for resource management. - Object-Oriented Programming (Deeper Dive) - Explores constructors, destructors,
thispointer, access specifiers, encapsulation, inheritance, and polymorphism. - Pointers and Dynamic Memory Management - Details
new/delete,new[]/delete[], memory leaks, dangling pointers, and smart pointers (std::unique_ptr,std::shared_ptr,std::weak_ptr).
Refer to the main repository README for compilation instructions and overall project structure.