This is your first C plus plus (C++) program which let you know how you can write your first C++ program. This is a simple C++ program which prints the “Hello World!”. The “Hello World!” program is the first program for any programming language.
By executing this program, you can check whether everything is working fine or not in your system. Copy and paste below “Hello World!” C program on your machine.
1 2 3 4 5 6 7 |
#include <iostream> using namespace std; int main() { cout<<"Hello World!"; return 0; } |
Here is the explanation of the above C++ program:
If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.
Article Tags: c hello world program, c++ program hello world, hello world c program, hello world in c++ language, hello world program