PartyintheUSA
|
if we write #include<iostream>
it means, we must have declare its functions that are we going to use in our program.
as std::cout, std::cin, std::endl etc.
and if we don't want to declare function like this, we use "using namespace std". This line declares the functions are given above.
But Most easy way is , write your preprocessing header file like this.
#include<iostream.h>
in this way, you do not need to write using namespace std and std::cout, std::cin, std::endl . you will be able to use all the functions of <iostream.h>
Hope you understand !
Just try it.
40 days ago
|