c++ Basic program

Posted on at


This program will help you to learn how to write a simple C++ program.

In this program i will tell you how you can show anything on Output screen.

 

#include<iostream.h>       //header file.

#include<conio.h>              //header file.

main()

{

cout<<"this sentence will be shown on output screen.";

getch();

return 0;

}

This a very simple program. The sentence written in " " will be display on output screen .You can type any thing in " ".

 

The output screen will be like this.....!

this sentence will be shown on output screen.

 

***********************************************************************************************************************

Is this blog was helpful for you? Please do comment and buzz.

***********************************************************************************************************************



About the author

noshaba-bibi

I am Noshaba Bibi ,24 years old ,
done Mcs from Virtual university and I am a blogger.

Subscribe 0
160