Programming in C++: Program Structure and Exceptions

Developers looking to improve their skills in C++

Please contact us for information about prerequisites.

Expected Duration
132 minutes

Understanding the structure of C++ programs is critical for implementing C++ code effectively. Variables are another basic concept that is key to success. This course covers the structure of C++ programs from branching and looping to the inclusion of functions as discrete code blocks. You’ll also learn about variables and memory allocation, handling exceptions, file IO, and working with and formatting strings.


Branching and Looping

  • start the course
  • use the if statement in branching C++ programs
  • use a for loop in C++ programs
  • use a while loop in C++ programs
  • use a do while loop in C++
  • use the switch statement in C++ programs


  • define default arguments for a function in C++
  • write an inline function in C++
  • write overloaded functions in C++
  • pass pointers as arguments to functions in C++

Variables and Memory Allocation

  • use the nothing statement in C++
  • recognize how global, static, dynamic, and local variables are allocated memory in C++
  • allocate and release dynamic memory in C++
  • allocate and release objects in C++
  • overload the new and delete functions

Exception Handling

  • use asserts for troubleshooting in C++ programs
  • implement exception handling in C++ programs

I/O, Formatting and Strings

  • work with C++ I/O streams
  • work with file I/O stream classes
  • use comments and whitespace in C++
  • use the C++ string class
  • use the C++ wide string class





Multi-license discounts available for Annual and Monthly subscriptions.