本文介绍了Microsoft Visual Studio在哪里保存.exe文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是C ++新手。我是一名少年(15岁)并且在没有任何教师应对我的学术研究的情况下自己学习不同的语言。所以,到目前为止,我一直使用code :: blocks用c ++编写代码,并且对visual studio感兴趣我也安装了
。 Code :: blocks在创建项目时创建.exe文件,并直接双击它我可以访问终端窗口。但是,我无法看到视觉工作室永久创造这样的东西。是否有任何创建.exe文件的过程,可以从视觉工作室外部直接访问
,如Windows 10中的代码块?

Hi, I'm new in C++. I'm a teenager(15) and learning different languages on my own without any teacher coping with my academic studies. So, I've been coding in c++ using code::blocks up to now, and being interested in visual studio I installed it too. Code::blocks creates a .exe file while creating a project, and directly double clicking it I can access the terminal window. But, I can't see such thing being permanently created by visual studio. Is there any process of creating a .exe file which can be directly accessed from outside the visual studio like code blocks in windows 10?

推荐答案

另外,只需看一下编译的输出(一个版本) )。答案就在那里,你只需要看一下。当创建exe文件时,会有一条消息给出exe的完整路径。

Also, just look at the output from a compile (a build). The answer is there, you just have to look at it. When the exe file is created there is a message giving the full path for the exe.

还要了解"debug"是什么。和"释放"配置是。

Also learn what "debug" and "release" configurations are.

此外,再次在解决方案资源管理器中。右键单击该项目,然后选择"属性"。然后查看"链接器"。节点。默认子节点是第一个,"通用"。在那里你会看到"输出文件"在链接器的属性
的顶部。文件名将使用宏指定;要查看实际文件名,请单击右侧的向下箭头,如下所示:

Also, again in Solution Explorer. right-click the project and select Properties. Then look at the "Linker" node. The default sub-node is the first one, "General". In there you will see "Output File" at the top of the properties for the linker. The filename will be specified using macros; to see the actual filename click on the down arrow on the right as in the following:

然后点击"编辑"。小心不要实际改变任何东西。您将看到如下内容:

Then click on "Edit". Be careful to not actually change anything. You will see something as in:

显示宏替换后的值。


这篇关于Microsoft Visual Studio在哪里保存.exe文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 00:26