Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

map containters

Status
Not open for further replies.

rdalton

Programmer
Dec 5, 2002
24
US
I'm trying to use a map containter in my application that is based on the document/view arch. I want to add the map as a member variable of the document, but when I add the line "using namespace std;" to doc.h I get a load of errors from ostream.h saying ambiguous symbol. Anyone have ideas? Thanks.
 
If you use "using namespace std;" you have to use the later header files i.e. the ones without the .h. At a guess, you are using iostream.h. It should be just iostream.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top