Home Dashboard Directory Help
Search

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


Status: 

Closed
 as External Help for as External


0
1
Sign in
to vote
Type: Bug
ID: 365982
Opened: 9/3/2008 7:52:39 PM
Access Restriction: Public
0
Workaround(s)
view
2
User(s) can reproduce this bug

Description

Whenever I try to write a C++ program, I get all its component identifiers as undefined(Error C2065).
Details
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: http://forums.microsoft.com/msdn/default.aspx?siteid=1.

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").
Sign in to post a workaround.