Programming in C++: Program Structure and Exceptions


Overview/Description
Target Audience
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
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.

Target Audience
Developers looking to improve their skills in C++

Expected Duration (hours)
2.2

Lesson Objectives

Programming in C++: Program Structure and Exceptions

  • 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++
  • 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
  • use asserts for troubleshooting in C++ programs
  • implement exception handling in C++ programs
  • 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
  • Course Number:
    pg_pcpp_a05_it_enus

    Expertise Level
    Intermediate