Explore a little.C ProgrammingC++HTMLVisual BasicSystem AnalysisE-CommerceBCA Notes
LEARN SOMETHING NEW

C++ Program to print "Hello World"

Read4BCA learning libraryFree access

C++ Program to print "Hello World"

//Simple C++ Program to display "Hello World"
//Header Files
#include<iostream.h>
#include<conio.h>

//main function
//where the execution of program begins
void main()
{

clrscr();
cout<<"Hello World";
getch();

}

//Now run the program by ctrl+f9

Output

C++ Program to print "Hello World" example

You can also see a video how to run this program

This lesson preserves the original Read4BCA material. Some programming examples use older tools and syntax. View original page.