|
-
January 2nd, 2013, 05:14 AM
#3
Re: Issues with new compliler
 Originally Posted by cypher5783
Ok I found my own issue. Thanks if you looked anyway. Visual Studio requires an include of
It is not really a matter of what particular compiler requires to be included.
You are using the std::string class within your code. By not including <string>, the code is not guaranteed to compile. By including <string>, the code is guaranteed to compile, regardless of the brand of ANSI C++ compiler you're using, whether it is Visual C++, g++, etc.
Regards,
Paul McKenzie
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
|