G
Guest
when i use #include <iostream.h> in some files
i get lots of error messages of the kind 'ambiguous symbol
this is solved when i use #include <iostream
why is that ? and can i use #include <iostream.h> in some way
examples to the error messages
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\streamb.h(90): error C2872: 'ios' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\streamb.h(90): error C2872: 'ios' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(258): error C2872: 'ios' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(258): error C2872: 'ios' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(258): error C2872: 'ios' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\istream.h(64): error C2872: 'ios' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\streamb.h(90): error C2872: 'ios' : ambiguous symbo
could be 'c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(106) : ios
or 'c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\iosfwd(462) : std::ios
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\istream.h(139): error C2872: 'istream' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\istream.h(149): error C2872: 'istream' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(272): error C2872: 'ostream' : ambiguous symbo
could be 'c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(104) : ostream
or 'c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\iosfwd(465) : std:stream
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(159): error C2872: 'ostream' : ambiguous symbo
could be 'c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(104) : ostream
or 'c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\iosfwd(465) : std:stream
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(160): error C2872: 'ostream' : ambiguous symbo
could be 'c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(104) : ostream
or 'c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\iosfwd(465) : std:stream
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(219): error C2872: 'ostream' : ambiguous symbo
could be 'c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(104) : ostream
or 'c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\iosfwd(465) : std:stream
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(146): error C2872: 'streambuf' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\streamb.h(158): error C2872: 'streambuf' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\streamb.h(159): error C2872: 'streambuf' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(290): error C2872: 'streambuf' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\istream.h(67): error C2872: 'streambuf' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\istream.h(90): error C2872: 'streambuf' : ambiguous symbo
i get lots of error messages of the kind 'ambiguous symbol
this is solved when i use #include <iostream
why is that ? and can i use #include <iostream.h> in some way
examples to the error messages
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\streamb.h(90): error C2872: 'ios' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\streamb.h(90): error C2872: 'ios' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(258): error C2872: 'ios' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(258): error C2872: 'ios' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(258): error C2872: 'ios' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\istream.h(64): error C2872: 'ios' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\streamb.h(90): error C2872: 'ios' : ambiguous symbo
could be 'c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(106) : ios
or 'c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\iosfwd(462) : std::ios
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\istream.h(139): error C2872: 'istream' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\istream.h(149): error C2872: 'istream' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(272): error C2872: 'ostream' : ambiguous symbo
could be 'c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(104) : ostream
or 'c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\iosfwd(465) : std:stream
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(159): error C2872: 'ostream' : ambiguous symbo
could be 'c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(104) : ostream
or 'c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\iosfwd(465) : std:stream
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(160): error C2872: 'ostream' : ambiguous symbo
could be 'c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(104) : ostream
or 'c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\iosfwd(465) : std:stream
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(219): error C2872: 'ostream' : ambiguous symbo
could be 'c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(104) : ostream
or 'c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\iosfwd(465) : std:stream
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(146): error C2872: 'streambuf' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\streamb.h(158): error C2872: 'streambuf' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\streamb.h(159): error C2872: 'streambuf' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(290): error C2872: 'streambuf' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\istream.h(67): error C2872: 'streambuf' : ambiguous symbo
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\istream.h(90): error C2872: 'streambuf' : ambiguous symbo