i am compiling C files in MS Visual C++ 6.0
i thought that the compiler would compile .c files with a C compilers, and .cpp with a C++ compiler. However, i just noticed that when i added some comments to the C files, i robotically used // to demarcate comments. Much to my surprise the compiler does not flag this as an error.
This is not so bad, but it makes me think that the predefined macro __cplusplus is true, when i was thinking it would be false.
is there a flag in Visual C++ that i can say to use the C compiler, not C++?