Pages

Sunday, 24 August 2014

Basics 0f C++

Basics Of C++
#include<iostream.h>
Iostream contains the definition of identifier cout and operator << , >> (overloaded)


<< Insertion Operator (Output operator)
>> Extraction Operator (Input Operator)


NAMESPACE
Using namespace std; defines the standard ANSI C++ class libraries where the identifiers are declared.
Why is the return type of main int? cant it be void ?  
Cout can read only one word (character string) without any blank spaces.
Structure of C++ Program

No comments:

Post a Comment