开发者

How to compile C code in Visual Studio 2008?

开发者 https://www.devze.com 2023-01-07 15:29 出处:网络
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

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

精彩评论

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