Learn C++

in #programming7 years ago (edited)

Here I tell you about A simple C++ program .
Here is simple program.
.
#include < iostream>
using namespace std;
int main()
{
cout<<"SteemIt is awesome.";
}
.
in first line #include< iostream> is called header file , and it is important for execution of program.
( ; ) Semicolon is very important.
cout<<"SteemIt is awesome."; This line simply print whatever written in the " ".
It print in output that ( SteemIt is Awesome ) As shown in image below.Capture.PNG

Sort:  

@naan, I gave you an upvote on your first post! Please give me a follow and I will give you a follow in return!

Please also take a moment to read this post regarding bad behavior on Steemit.

Have a look into steem markup so that you can use code markup for code snippets.

It will look like this:

#include <stdio.h>

int main() {
...

}