s********1 发帖数: 581 | 1 visual studio 支持 C吗?visual C++ 支持 C 吗?有专门的 visual C 吗? |
O*******d 发帖数: 20343 | 2 The answer is yes. Use file extension .c instead of .cpp |
T*****9 发帖数: 2484 | 3 no,that may still be c++
【在 O*******d 的大作中提到】 : The answer is yes. Use file extension .c instead of .cpp
|
O*******d 发帖数: 20343 | 4 http://www.daniweb.com/forums/thread16256.html
Go to Project and Properties, then somewhere in the myriad of options you'll
see "Compile as C++" where you can change it to "Compile as C". And while
you're at it, change the source file extension to .c instead of .cpp. |
p***o 发帖数: 1252 | 5 no, .c default to c, unless you forced it to c++.
【在 T*****9 的大作中提到】 : no,that may still be c++
|
p****s 发帖数: 32405 | 6 就是这个properties里面太难找了。
肯定不是common propertie->references, 在configuration properties里面某一选项。
【在 O*******d 的大作中提到】 : http://www.daniweb.com/forums/thread16256.html : Go to Project and Properties, then somewhere in the myriad of options you'll : see "Compile as C++" where you can change it to "Compile as C". And while : you're at it, change the source file extension to .c instead of .cpp.
|
O*******d 发帖数: 20343 | 7 Project->Properties->Configuration Properties->C/C++->Advanced->Compile As
项。
【在 p****s 的大作中提到】 : 就是这个properties里面太难找了。 : 肯定不是common propertie->references, 在configuration properties里面某一选项。
|