The general structure of the existing program in C + + as below :
#include <conio.h>
#include <iostream.h>
void main ()
{
clrscr();
/* Write your coding here ... */
...
...
...
getch();
}
-include : treats text in the specified filename as if it appeared in the current file.
-conio.h & iostream.h : declare some library functions are included to perform "console input and output" of a program.
-clrscr : clear screen.
-getch : to view character in program.
#include <conio.h>
#include <iostream.h>
void main ()
{
clrscr();
/* Write your coding here ... */
...
...
...
getch();
}
-include : treats text in the specified filename as if it appeared in the current file.
-conio.h & iostream.h : declare some library functions are included to perform "console input and output" of a program.
-clrscr : clear screen.
-getch : to view character in program.
Comments
Post a Comment