开发者

How to compile C in visual studio 2010?

开发者 https://www.devze.com 2023-03-25 00:14 出处:网络
I want to make sure that the project is configured entirely for C (NOT C++). I cannot find any accurate walk through for doing this. I am open to using Eclipse, except that it does not create a workin

I want to make sure that the project is configured entirely for C (NOT C++). I cannot find any accurate walk through for doing this. I am open to using Eclipse, except that it does not create a working project out of开发者_StackOverflow社区 the box (which makes no sense...).


Add /Tc as a command line option.


From what I know Visual Studio will treat all sources that end in .c as C source. So you should be fine right out of the box. Are you experiencing a particular problem?

0

精彩评论

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