WORLD OF COMPUTERS
Would you like to react to this message? Create an account in a few clicks or log in to continue.

WORLD OF COMPUTERS


 
HomeLatest imagesSearchRegisterLog in

 

 Chapter 1.1: Explaining Your First Program

Go down 
2 posters
AuthorMessage
Crash




Posts : 15
Join date : 2010-08-21

Chapter 1.1: Explaining Your First Program Empty
PostSubject: Chapter 1.1: Explaining Your First Program   Chapter 1.1: Explaining Your First Program Icon_minitimeSat 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
FASTICK




Posts : 1
Join date : 2010-08-21

Chapter 1.1: Explaining Your First Program Empty
PostSubject: Re: Chapter 1.1: Explaining Your First Program   Chapter 1.1: Explaining Your First Program Icon_minitimeSat 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
 
Chapter 1.1: Explaining Your First Program
Back to top 
Page 1 of 1
 Similar topics
-
» Chapter 1.3: Explaining Variables
» Chapter 1.5: Explaining Strings
» Chapter 1.7: Explaining Constants
» Chapter 1.0: Building Your First Program
» Chapter 1.6: Constants

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