无法将cpp文件添加到项目. [英] can not add cpp file to project.

查看:97
本文介绍了无法将cpp文件添加到项目.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我使用ADD/New Item/将cpp文件和头文件添加到了我的msvs c ++项目中.但我不能在项目下编译这些文件.有人知道为什么吗?以及如何将文件添加到项目中以便可以编译这些文件?非常感谢!

i added the cpp files and header files to my msvs c++ project with ADD/New Item/. but i can not compile these files under the project. anyone knows why? and how can i add the files to the project so that i can compile those files? thanks a lot!

 

推荐答案

请按照以下说明进行操作

Please follow these instructions for Adding Files to an Empty Win32 Application.

如果无法编译文件,为什么不呢?  菜单选项不可用吗?  您收到错误消息吗?  是什么问题?  请具体说明症状或错误.

If you cannot compile the files, why not?  Is the menu option not available?  Do you get an error?  What is the problem?  Please be specific and descriptive about the symptoms or errors.


这篇关于无法将cpp文件添加到项目.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆