View Single Post
Old 05-10-2005, 04:24 PM   #5 (permalink)
Mohan Giri
 
True Techie

Join Date: Dec 2004

Posts: 145

Mohan Giri

Default

Tell me why we are including "using namespace std" statement in our code. And if we use the code while specifying ".h" in iostream include statement getting error like

--------------------Configuration: fibonaci - Win32 Debug--------------------
Compiling...
fibonaci.cpp
e:\giri\c++\ex\fibonaci\fibonaci.cpp(2) : error C2871: 'std' : does not exist or is not a namespace
Error executing cl.exe.

fibonaci.obj - 1 error(s), 0 warning(s)

what is the reason?? Can you explain me??
Mohan Giri is offline