Intermediate1 h 50Free
C++: exceptions, streams and polymorphism
Make your C++ programs robust and extensible: exceptions that report errors without letting them slip by, streams to read and write files and text, then inheritance and polymorphism to handle different objects in the same way. The final project manages a fleet of vehicles loaded from a file.
Start the course
0 / 6 chapters completed
What you'll be able to do
- Throw, catch and define exceptions, and understand how they relate to RAII
- Read and write files and parse text with streams
- Design a class hierarchy with virtual functions
- Handle polymorphic objects safely with unique_ptr
Course outline
Part 1 · Errors and streams
Part 2 · Inheritance and polymorphism