好的,我真的需要一些解释得很好的帮助 [英] OK, I really need some well explained help

查看:103
本文介绍了好的,我真的需要一些解释得很好的帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用visual studio 2010编写了一个琐事游戏。



它的工作方式非常适合能够上传它并且可能让任何人都可以下载谁想玩它。



好​​吧,我之前在网站上问过,我被告知要编译它,并且在bin文件夹中会有一个exe文件。



我发现了一个bin文件夹(不确定它是否是正确的bin文件夹,idk,我对编程有点新)



首先,编译只是构建/运行?正确?如果不是我如何在VS 2010中编译



其次,如果编译正在运行/构建,哪里是正确的bin文件夹以及为什么我看不到exe文件。



除非它被另外命名?



就像我的proect的名字一样,我的源代码是终极琐事



它会被称为ultimate_trivia.exe或类似的东西吗?



任何帮助非常感谢。

I have written a trivia game using visual studio 2010.

it works so id like to be able to upload it and possibly have it available for download by anyone who wants to play it.

Well, I asked earlier on the site and i was told to compile it and there would be an exe file in the bin folder of it.

Well i found the a bin folder (not sure if its the right bin folder, idk, im somewhat new to programming)

First, compiling is just building/running? correct? if not how do i compile in VS 2010

secondly, if compiling is running/building, where is the correct bin folder and why dont i see the exe file.

unless it gets named something else?

Like the name of my proect and my source code is "Ultimate Trivia"

would it be called ultimate_trivia.exe or something of the sort?

any help would be greatly appreciated.

推荐答案

是的,编译就像构建/运行(它编译它来运行它)。在bin目录中,您可能有2个文件夹,一个名为debug,另一个名为debug。您的可执行文件应该在调试目录中,除非您已将配置更改为发布,然后它就会在那里。



只需在代码中搜索.exe文件目录,它可能会被命名为Ultimate Trivia.exe。



当你点击构建/运行按钮时程序是否运行?如果没有,则它不会创建exe文件,但如果它确实运行则创建文件。
Yes, compiling is just like build/run (it compiles it to run it). In your bin directory you probably have 2 folders, one named debug and the other release. Your executable should be in the debug directory unless you've changed your configuration to release, then it would be there.

Just search for a .exe file in your code directory, it will probably be named "Ultimate Trivia.exe".

Does the program run when you hit the build/run button? If it doesn't, then it won't create an exe file, but if it does run then the file is created.


解决方案文件夹的结构应该是:

The structure of your solution folder should be:
Ultimate Trivia
    Debug
    Release
    Ultimate Trivia
    ... various control files



使用 Build ... 按钮之一构建项目或解决方案时,可执行文件将放在Debug或Release目录中,取决于您选择的构建类型。通常规则是调试版本仅用于测试,发布版本是交付给客户的版本。


When you build the project or solution, using one of the Build ... buttons, the executable will be placed in either the Debug or Release directories, depending on which build type you have selected. It is generally the rule that the debug version is created just for testing, and the release version is the one delivered to customers.


成功编译 Visual Studio 显示(在输出窗口中)构建的可执行文件的完整路径。



无论如何你都可以控制它:选择项目 - >属性菜单项然后选择配置属性 - >链接器 - >常规。在第一行中,您可以设置输出(可执行)路径。
On successful compilation Visual Studio shows (in the output window) the complete path of the built executable.

In any case you have control on it: choose Project -> Properties menu item then select Configuration Properties -> Linker -> General. In the very first line you may set the output (executable) path.


这篇关于好的,我真的需要一些解释得很好的帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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