WORLD OF COMPUTERS


 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Chapter 1.1: Explaining Your First Program

Go down 
AuthorMessage
Crash



Posts : 15
Join date : 2010-08-21

PostSubject: Chapter 1.1: Explaining Your First Program   Sat Aug 21, 2010 3:12 am

The iostream has information and data of input and output streams.
Quote :
#include <iostream>

This command tells program to use the standard library.
Quote :
using namespace std;

The actual commands are written inside the main function. The program executes the commands in order they are written.
Quote :
int main()

Inputs specified text.
Quote :
cout << "Hello World!" << endl;

Tells system to pause the program.
Quote :
system("pause");
Back to top Go down
View user profile
FASTICK



Posts : 1
Join date : 2010-08-21

PostSubject: Re: Chapter 1.1: Explaining Your First Program   Sat Aug 21, 2010 5:28 am

this is good way to explain the lines, thanks, i'm on my way to become a good programmer Wink
Back to top Go down
View user profile
 
Chapter 1.1: Explaining Your First Program
Back to top 
Page 1 of 1
 Similar topics
-
» program to provide total number of objects present / available on the page
» Brealey Myers Allen 10e Chapter 19 Solution Pdf.rar
» Has anyone read "Heal Your Headache" please?
» Getting the error msg 'Error: Could not find or load main class java-jar' while executing the selenium code in eclipse
» Brealey Myers Allen 10e Chapter 19 Solution Pdf.rar

Permissions in this forum:You cannot reply to topics in this forum
WORLD OF COMPUTERS :: Computer Programming :: C++-
Jump to: