๐Ÿ’  The C++ Universe ๐Ÿ’ 

Learn C++ โ€” advanced systems, games, and performance programming! โšก

๐Ÿ’ก What Is C++?

C++ is an extension of C with object-oriented programming. Itโ€™s used for games, applications, and high-performance software.

โ€œC++ gives you the power of C with classes, objects, and more.โ€

๐Ÿงฉ Basics

Variables, types, and printing output:


#include <iostream>
using namespace std;

int main() {
    int age = 15;
    string name = "Dyl";

    cout << "Name: " << name << endl;
    cout << "Age: " << age << endl;
    return 0;
}
  

โš™๏ธ Functions

Reusable blocks of code:


#include <iostream>
using namespace std;

int add(int a, int b) {
    return a + b;
}

int main() {
    cout << "Sum: " << add(2,3) << endl;
    return 0;
}
  

๐Ÿ” Loops

Repeating tasks with loops:


#include <iostream>
using namespace std;

int main() {
    for(int i=0; i<5; i++) {
        cout << "Loop " << i << endl;
    }
    return 0;
}
  

๐Ÿ•น๏ธ Try C++ Yourself

Type your C++ code below. This is a **simulated runner**โ€”only prints lines with cout.

Output will appear here...

*Simulated output (real C++ code requires a compiler)