From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
Description of problem:
The #include <iostream> statement should take care of input & output, i.e. cin
and cout. But unless one include namespaces std or including std::cout & cin
when you compile it it'll give an error saying it doesn't know what cin & cout are.
The very purpose of the iostream lib though is to provide std I/O so I think
something is missing here... Thanks, sincerely, John
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.edit a C++ program, & say "#include <iostream>
2.say in your program " cout<<"What a silly monkey!";
3.compile your program with g++ command
Actual Results: get error, it don't compile
Expected Results: should have compiled
No, it should not compile. Please check ISO C++ 98 standard.