I tried compiling a C++ project on Microsoft Visual C++ 2008 Express, and for some bizarre reason it keeps trying to compile my code as pure C code. I checked the project settings and it says "Compile as C++ Code", but I keep getting compilation errors that could only be caused by compiling in C mode.
For example:
1) It sees class as a function
2) None of the standard C++ headers will compile, like iostream
3) It chokes on ::
Creating a new project doesn't do anything. Can anyone help?
Last edited by dargueta; 11-24-2008 at 06:08 PM. Reason: Attached source code
I'm not really into VS, but I noticed your source files had the *.c extension?
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Aw, ****. Thanks.
lol, ok![]()
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks