• <small id='u4rW0'></small><noframes id='u4rW0'>

    1. <i id='u4rW0'><tr id='u4rW0'><dt id='u4rW0'><q id='u4rW0'><span id='u4rW0'><b id='u4rW0'><form id='u4rW0'><ins id='u4rW0'></ins><ul id='u4rW0'></ul><sub id='u4rW0'></sub></form><legend id='u4rW0'></legend><bdo id='u4rW0'><pre id='u4rW0'><center id='u4rW0'></center></pre></bdo></b><th id='u4rW0'></th></span></q></dt></tr></i><div id='u4rW0'><tfoot id='u4rW0'></tfoot><dl id='u4rW0'><fieldset id='u4rW0'></fieldset></dl></div>

        <legend id='u4rW0'><style id='u4rW0'><dir id='u4rW0'><q id='u4rW0'></q></dir></style></legend>
          <bdo id='u4rW0'></bdo><ul id='u4rW0'></ul>

      1. <tfoot id='u4rW0'></tfoot>

        Microsoft Visual C++,无需工程文件即可编译小源代码

        Microsoft Visual C++, compiling small source codes without project file(Microsoft Visual C++,无需工程文件即可编译小源代码)

        <small id='YCy9K'></small><noframes id='YCy9K'>

        • <i id='YCy9K'><tr id='YCy9K'><dt id='YCy9K'><q id='YCy9K'><span id='YCy9K'><b id='YCy9K'><form id='YCy9K'><ins id='YCy9K'></ins><ul id='YCy9K'></ul><sub id='YCy9K'></sub></form><legend id='YCy9K'></legend><bdo id='YCy9K'><pre id='YCy9K'><center id='YCy9K'></center></pre></bdo></b><th id='YCy9K'></th></span></q></dt></tr></i><div id='YCy9K'><tfoot id='YCy9K'></tfoot><dl id='YCy9K'><fieldset id='YCy9K'></fieldset></dl></div>
            <tbody id='YCy9K'></tbody>
        • <legend id='YCy9K'><style id='YCy9K'><dir id='YCy9K'><q id='YCy9K'></q></dir></style></legend>
              <tfoot id='YCy9K'></tfoot>

                • <bdo id='YCy9K'></bdo><ul id='YCy9K'></ul>
                  本文介绍了Microsoft Visual C++,无需工程文件即可编译小源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  好吧,我一直在使用 Dev-C++ 来学习语言 [c++],但有些东西无法正常工作,例如全局变量和局部变量.然后我决定下载 Microsoft Visual C++ 来看看它的比较,它绝对很棒;尤其是它的美学.不过,让我感到困扰的一件事是,由于我需要制作大量小源文件来测试我学到的东西,因此我必须每次都制作一个大型项目文件,这会占用 ~18mb 的空间.我试图只制作一个源 C++ 文件,但它永远不会工作,因为编译和运行按钮在没有项目文件的情况下不会突出显示,并且按 f5 也不会产生任何结果.但是使用 Dev-C++,我可以直接打开它,控制+n,然后快速编写程序,编译它就会显示出来,不需要项目文件.那么有没有一种方法可以在 Microsoft Visual C++ 中编译单个源文件,而无需制作项目文件来包含它?

                  Well, I've been using Dev-C++ for a while for learning the language [c++], and some stuff wouldn't work properly, like global and local variables. Then I decided to download Microsoft Visual C++ to see how it compared, and it was absolutely great; especially with its aesthetics. One thing that has bothered me, though, is that since I need to make lots of small source files to test out things I've learned, I have to make a large project file each and every time, which take up ~18mb of space. I have tried to just make a source C++ file, but it never works since the compile and run buttons don't highlight without a project file, and pressing f5 yields no result as well. But with Dev-C++, I could just open it up, control+n, and write the program quickly, compile and it'd show up, no need for a project file. So is there a way to to compile single source files in Microsoft Visual C++ without needing to make a project file to include it in?

                  推荐答案

                  我通常为临时工作制作一个项目,然后重复使用它.如果您真的非常需要保留学习文件,那么只需创建一个项目,添加新的源文件,并从构建中排除所有旧文件.无需为每个临时或学习项目都创建一个新项目.

                  I typically make one project for temporary work and just re-use it. If you have a really desperate need to keep around your learning files, then just make one project, add new source files, and exclude all the old ones from the build. There's no need to make a new project for every temporary or learning project.

                  这篇关于Microsoft Visual C++,无需工程文件即可编译小源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Is Type(::x); valid?(是类型(::x);有效的?)
                  Difference between an inline function and static inline function(内联函数和静态内联函数的区别)
                  Compilation fails randomly: quot;cannot open program databasequot;(编译随机失败:“无法打开程序数据库)
                  Too many initializers error for a simple array in bcc32(bcc32 中的简单数组的初始值设定项过多错误)
                  No Member named stoi in namespace std(命名空间 std 中没有名为 stoi 的成员)
                  Error using a constexpr as a template parameter within the same class(在同一个类中使用 constexpr 作为模板参数时出错)

                    <tbody id='DKm87'></tbody>
                  <i id='DKm87'><tr id='DKm87'><dt id='DKm87'><q id='DKm87'><span id='DKm87'><b id='DKm87'><form id='DKm87'><ins id='DKm87'></ins><ul id='DKm87'></ul><sub id='DKm87'></sub></form><legend id='DKm87'></legend><bdo id='DKm87'><pre id='DKm87'><center id='DKm87'></center></pre></bdo></b><th id='DKm87'></th></span></q></dt></tr></i><div id='DKm87'><tfoot id='DKm87'></tfoot><dl id='DKm87'><fieldset id='DKm87'></fieldset></dl></div>

                  <small id='DKm87'></small><noframes id='DKm87'>

                    • <tfoot id='DKm87'></tfoot><legend id='DKm87'><style id='DKm87'><dir id='DKm87'><q id='DKm87'></q></dir></style></legend>
                          • <bdo id='DKm87'></bdo><ul id='DKm87'></ul>