Key Concepts

Review core concepts you need to learn to master this subject

Program Structure

#include <iostream> using namespace std; int main() { cout << "Hello, world!"; return 0; }

C++ programs run line by line and generally follow the same program structure:

  • #include statements at the beginning of the program, which allow access to library functionalities.
  • main() function, which is run when the program is executed.
  • return 0 at the end of the main() function, which indicates that the program ran without issues.

What you'll create

Portfolio projects that showcase your new skills

Pro Logo