|
-
April 26th, 2004, 01:14 PM
#16
Originally posted by Guysl
Thanks.
I'm using the same headers but keep getting:
error C2679: binary '<<' : no operator defined....
I have the DX9 SDK installed too, with default project setting
uses its libs, could it be the reason? any idea?
Regards,
Guysl
I get no errors compiling the simple code with the proper headers. Maybe you've trashed (overwritten) your STL version with an older one where iostreams doesn't overload the std::string type, or your directory paths are pointing to this older version.
That's basically the problem with VC++'s "iostream.h" -- it knows nothing about std::string, so there was no operator << written for the VC++'s version "iostream.h".
Regards,
Paul McKenzie
Last edited by Paul McKenzie; April 26th, 2004 at 01:16 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|