This is an ideal First C++ (CPP) program.
All necessary things are described with in the program in comments.
Select To use this code as it is.. select and copy paste this code into code.cpp file :)
- #include <iostream.h> //These are the Header files and are essential..
- #include <conio.h> // They varies program to program.
- void main() //This is a special type of function.Program starts and ends in MAIN.
- {
- //Coding by: Snehil Khanor
- //http://WapCPP.blogspot.com
- clrscr(); //This clears previous outputs from the output screen
- cout<<"Hello India"; //This is responsible for diplaying a messege
- cout<<"\nThis is my first C++ programme";
- getch(); //This helps to sustain the output on Screen.
- }
0 comments:
Post a Comment