Re: error C2872: 'cout' : ambiguous symbol


[ Follow Ups ] [ Post Followup ] [ CS1704 Discussion WWWBoard ] [ FAQ ]

Posted by hussein on August 02, 2000 at 19:52:58:

In Reply to: error C2872: 'cout' : ambiguous symbol posted by John Guanzon on August 02, 2000 at 19:43:53:

two possible reasons i can think of offhand ...

- you could be including iostream, and that might be conflicting with amulet, which sometimes defines its own equivalent of cout ... you ought not to need iostream at all since you dont do output to any form of console window ...

- you are using namespaces and amulet just isnt happy about that ... i have found that if you put the "using namespace std" AFTER the include statement for "amulet.h", it works - the other way around it doesnt ... (at least thats what happened when i tried it)

hope this helps ...


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS1704 Discussion WWWBoard ] [ FAQ ]