Introduction to C++ Programming

C++ is a general-purpose, object-oriented programming language created by Bjarne Stroustrup in 1985.

C++ is an extension of C with object-oriented features, often called C with Classes.

Key features: Object-Oriented, Platform Independent, Rich Library, High Performance.

C++ is a compiled language - code is compiled to machine language.

Applications: Operating Systems, Games, Browsers, Database Systems, Cloud/Distributed Systems.

First C++ Program:

#include <iostream>
using namespace std;

int main() {
  cout << "Hello, World!" << endl;
  return 0;
}

Compilation: g++ program.cpp -o program then ./program