A simple C++ program to print on screen

A simple C++ Program to display/Print

This is a simple program,i will explain which is going on,
now in first line we are including a library which will convert our code to machine language which computer understands, it is compulsory when we are using a command like cout and cin which will further be explained.
Now in next line we are calling a function main, note every thing we will do should be in main program, void means to nothing, in left side of main void means it will not return any thing and in right side.  
It means it get nothing in side the main function from any other function,note when we can use more function but they should be linked with main program, in further tutorial i will explain how to make other function 

No comments:

Post a Comment