• <bdo id='DiX0p'></bdo><ul id='DiX0p'></ul>

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

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

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

        托管 C++ 和 C++ 之间的区别

        时间:2023-10-06
        <tfoot id='xWx5h'></tfoot>
        • <bdo id='xWx5h'></bdo><ul id='xWx5h'></ul>
          <i id='xWx5h'><tr id='xWx5h'><dt id='xWx5h'><q id='xWx5h'><span id='xWx5h'><b id='xWx5h'><form id='xWx5h'><ins id='xWx5h'></ins><ul id='xWx5h'></ul><sub id='xWx5h'></sub></form><legend id='xWx5h'></legend><bdo id='xWx5h'><pre id='xWx5h'><center id='xWx5h'></center></pre></bdo></b><th id='xWx5h'></th></span></q></dt></tr></i><div id='xWx5h'><tfoot id='xWx5h'></tfoot><dl id='xWx5h'><fieldset id='xWx5h'></fieldset></dl></div>
        • <legend id='xWx5h'><style id='xWx5h'><dir id='xWx5h'><q id='xWx5h'></q></dir></style></legend>

              <tbody id='xWx5h'></tbody>

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

                  本文介绍了托管 C++ 和 C++ 之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  第二个问题是:我什么时候使用这两个?

                  The second question is: When do I use what of these two?

                  推荐答案

                  如果未指定,C++ 是非托管 C++,编译为机器码.在非托管 C++ 中,您必须手动管理内存分配.

                  When not specified, C++ is unmanaged C++, compiled to machine code. In unmanaged C++ you must manage memory allocation manually.

                  托管 C++ 是 Microsoft 发明的一种语言,可编译为由 .NET Framework 运行的字节码.它主要使用与 C++ 相同的语法(因此得名),但编译方式与 C# 或 VB.NET 相同;基本上只有语法变化,例如使用 '->' 指向对象的成员(而不是 C# 中的 '.'),使用 '::' 表示命名空间等

                  Managed C++ is a language invented by Microsoft, that compiles to bytecode run by the .NET Framework. It uses mostly the same syntax as C++ (hence the name) but is compiled in the same way as C# or VB.NET; basically only the syntax changes, e.g. using '->' to point to a member of an object (instead of '.' in C#), using '::' for namespaces, etc.

                  托管 C++ 旨在简化从经典 C++ 到 .NET Framework 的过渡.它不打算用于启动新项目(首选 C#).

                  Managed C++ was made to ease transition from classic C++ to the .NET Framework. It is not intended to be used to start new projects (C# is preferred).

                  这篇关于托管 C++ 和 C++ 之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:您如何减少 Visual C++ 项目(本机 C++)的编译时间和 下一篇:/Ox 和/O2 编译器选项之间有什么区别?

                  相关文章

                  最新文章

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

                  <small id='3Cn86'></small><noframes id='3Cn86'>