用visual studio 2012编译包含多个C源文件文件的C程序?
尝试创建一个空项目(Visual C++模板),把所有C结尾的后缀改为c++之后编译看看(不确定VC++最新版是否可以直接编译后缀为c的文件)。
另外VC++中可能不包含c的某些类库,所以可能需要手动修改。
另外如果是控制台程序,请确保有入口函数void main.

If you think one reply solves your problem, please mark it as
An Answer, if you think someone's reply helps you, please mark it as a
Proposed Answer
Help by clicking:
Click here to donate your rice to the poor
Click to Donate
Click to feed Dogs & Cats