如何将代码添加到现有项目? [英] how do I add code to an existing project ?

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

问题描述

我现在很沮丧,但是我想向一个无法正常工作的项目中添加一个可编译的Visual Studio项目.如何将代码添加到项目中?

I''m pretty frustrated now, but I want to add a compilable visual studio project to a project that doesn''t work out of the tin. How can I add code to the project ?

推荐答案

假设我了解您的问题,并且您使用的是Visual Studio的某些版本,请在菜单.或者,转到Solution Explorer窗口,然后右键单击要添加内容的树枝.例如,您可以将项目添加到解决方案,将文件夹添加到项目,或将文件添加到文件夹.如果使用其他IDE,请尝试Help菜单项.如果没有IDE,则只需在相应的文件夹中创建一个文件.
Assuming I understand your problem and you are using some version of Visual Studio, use File New on the menu. Alternatively go to the Solution Explorer window and right click on the tree branch where you want to add something. For example, you can add a Project to the Solution, a Folder to a Project, or a File to a Folder. If you are using some other IDE then try the Help menu item. If you do not have an IDE then just create a file in the appropriate folder.


将其放置一会儿.在从头开始的简单项目上锻炼您的代码能力,并使用您感兴趣的语言阅读编程.当您有足够的信心时,您的问题很可能会消失.
—SA
Set it aside for a while. Exercise you coding muscles on the simple projects made from scratch and read on programming using the language you''re interested in. When you get enough confidence, your problem will most likely disappear.

—SA


这篇关于如何将代码添加到现有项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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