Object Oriented Programming in C++

📖 Basic Structure:

 
#include <iostream> // Header file
using namespace std; // Namespace

int main() { // Entry point
cout << “Hello”; // Output
return 0; // Exit
}

 

📌 Concepts Explained:

  • Header File → Provides functions (iostream = input/output)
  • main() Function → Program starts execution here
  • Namespace → Avoids naming conflicts