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 the box (which makes no sense...).
Asked
Active
Viewed 4,038 times
0

hari
- 9,439
- 27
- 76
- 110

LunchMarble
- 5,079
- 9
- 64
- 94
-
1MSVS 2010 fully supports "C". All you need to do is use ".c" suffix in your source file. As MByD said, you can also specify "/Tc". – paulsm4 Aug 02 '11 at 21:53
2 Answers
5
-
Where do I do this? (I have actually wondered how to add command line options for a while..) – LunchMarble Aug 02 '11 at 23:09
-
I am not next to it, but it should be: `right click on the project -> properties -> c/c++ ` then either the command line tab or the compiler tab, I am not sure. sorry. – MByD Aug 02 '11 at 23:13
-
2In fact it's `right click on the project -> Properties -> C/C++ -> Advanced -> Compile As`. There you can select /TC as MByD suggests. – Bart Aug 03 '11 at 11:41
2
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?

Bart
- 19,692
- 7
- 68
- 77