How to compile C code in Visual Studio 2008?
I want to write a console application in C in VS 2开发者_开发问答008. What project type do I need to select and what properties I must set in order to do this?
C++ - Projects - Win32 Project - Console Application. When application is created, rename .cpp files to .c. In the Project Properties, C++, Advanced, select Compile As C code (/TC).
Win32 Console Project....
then add files....select .cpp, but call it a .c :)
Visual C++ -> Win32 -> Win32 Console Application
精彩评论