C++ - Introduction and How to make a program with C++ that puts out "Hello, World!" - Just a test blog
That's all folks!

C++ is programming language. It is regarded as an intermediate-level language as it comprises both high-level and low-level language features.

C++ has been around from quite a while now, It's founder Bjarne Stroustrup started working on it in 1979 and by 1983 it was out and being used to program. Many popular programs you use today are written on C++.

How to make a program with C++ that puts out "Hello, World!"

First, you need to download and install a compiler.
(A compiler is basically a reader which is gonna understand your c++ code and convert it into machine language so your computer can understand it.)

For the compiler, I recommend you download CodeBlocks, It's the best yet compiler for C++.

Second, run CodeBlock and create a project:

Then select 'Console Application' from the list and click Go.

Just click Next on the next screen, after that make sure C++ is selected on the next screen and click next, then you gotta name your project, just name it anything you like and select the location where you like to store the project files and click next.

After that, just ignore the other screen and click Finish. You can then see your project listed on the left size of the program under 'Projects' tab. Expend it and select the 'main.cpp'

It'll have some code in it, just remove that code and copy & paste the code below in there:

#include <iostream>

using namespace std;

int main()

    cout << "Hello, World!";
    return 0;

Congratulations! You've just created your first program!

Now to run it, you should see these three button on on the top  click on the third one which says Build and Run and your program will run.

Now, I'm going to cover some very basics of what's happening above

I'm using a 'cout' function to send out or display the message "Hello, World! in the program. 'cout' is normal function which tells the compiler to do or display the following things.

You must've also noticed 'using namespace std;' what is that? well, the best way to put it is that 'std' is set of functions or more like a library of function which includes 'cout', 'std' contains the properties of 'cout', the program wouldn't recognize 'cout' if  'using namespace std;' wasn't used.

and the whole program is stopped by the command 'return 0;' return is like a stop sign, if it weren't there, the program will loop.

That's it! If you have any question or you want to spot out any mistakes, please let us know below.