Learn C++

in programming •  7 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

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

@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.

@introduce.bot
ok follow

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() {
...

}