Skip to content

teresa-chow/42-cpp05

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPP Module 05 - C++ Fundamentals

42 School: Rank 5

This is the sixth of ten introductory modules on Object-Oriented Programming (OOP) in C++.

Core concepts explored in this module include:

  • Exceptions
  • try / catch / throw
  • Exception propagation
    • when an exception is thrown and not caught locally, it moves up the call stack looking for a matching catch; if none is found, the program terminates.
  • RAII (Resource Acquisition Is Initialization) interactyion with exceptions
    • RAII objects automatically clean up in their destructors.
  • Stack unwinding
    • when an exception propagates upward, the runtime destroys all objects with automatic storage in each stack frame it exits.

About

This is the sixth of ten introductory modules on Object-Oriented Programming (OOP) in C++.

Topics

Resources

License

Stars

Watchers

Forks

Contributors