C++ Tutorial for Beginners 3: Hello World C++

Time to create our first C++ program! We'll get our IDE to generate the a basic program, then we'll start to go over it and look at what's in it and how it works. Don't worry, although even a basic C++ program looks intimidating at first, we'll take it slowly.


// Hello world
// A basic program

#include <iostream>

using namespace std;

int main() {
    cout << "Hello world" << endl;

    return 0;
}