开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜