Hey, I am new to C programming
I am just not sure if we can use Microsoft Visual C++ to compile my C source code? I have Microsoft Visual Studio.Net 2003. It doesn't work. Does that only work with C++ not C?
Hey, I am new to C programming
I am just not sure if we can use Microsoft Visual C++ to compile my C source code? I have Microsoft Visual Studio.Net 2003. It doesn't work. Does that only work with C++ not C?
You need to set the /TC compiler switch to get source files to compile as C. You can probably set this from your project properties.
CProgramming FAQ
Caution: this person may be a carrier of the misinformation virus.
Saving your programs as prog.c rather than the default prog.cpp helps as well
Hi Guys, thanks a lot for the help. Now I can use CL command in Command line to compile my C source code by using Microsoft C/ C++ Compiler. But I have troubles to add the file to my project. I want to the Visual Studio C IDE features to edit my C source code. Could anybody show me a little bit more how to do it?
Nevermind Everyone. Thanks a lot. I got it work now. Thanks.
Sorry guys, another problem, My Visual Studio IntelliSense For C seems not available. Any help for that?