cin, cout,etc undefined identifiers even if iostream header file is used - by Paushali

Status : 

  Postponed<br /><br />
		Due to current priorities, the product team decided to postpone the resolution of this item.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 365982 Comments
Status Closed Workarounds
Type Bug Repros 2
Opened 9/3/2008 7:52:39 PM
Access Restriction Public


Whenever I try to write a C++ program, I get all its component identifiers as undefined(Error C2065).
Sign in to post a comment.
Posted by Microsoft on 9/4/2008 at 10:30 PM
Thanks for using the Visual Studio & .Net Framework Connect site. The site is put in place to enable the community to submit feedback on these technologies. We encourage you to use the MSDN Forums for general questions:

Thank you,
Visual Studio Product Team
Posted by Paushali on 9/4/2008 at 6:27 AM
thanks a lot!It helped
Posted by Pavel Minaev [MSFT] on 9/3/2008 at 11:25 PM
To begin with, iostream.h is not a standard header. You need to #include <iostream>, and mind the fact that cout/cin and their friends are in namespace std - so it's std::cout, std::cin etc (or use "using namespace std").