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.