<legend id='ayHFv'><style id='ayHFv'><dir id='ayHFv'><q id='ayHFv'></q></dir></style></legend>

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

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

      Difference between managed C++ and C++(托管 C++ 和 C++ 之间的区别)
      <i id='P8pnz'><tr id='P8pnz'><dt id='P8pnz'><q id='P8pnz'><span id='P8pnz'><b id='P8pnz'><form id='P8pnz'><ins id='P8pnz'></ins><ul id='P8pnz'></ul><sub id='P8pnz'></sub></form><legend id='P8pnz'></legend><bdo id='P8pnz'><pre id='P8pnz'><center id='P8pnz'></center></pre></bdo></b><th id='P8pnz'></th></span></q></dt></tr></i><div id='P8pnz'><tfoot id='P8pnz'></tfoot><dl id='P8pnz'><fieldset id='P8pnz'></fieldset></dl></div>

        <bdo id='P8pnz'></bdo><ul id='P8pnz'></ul>
        <tfoot id='P8pnz'></tfoot>

              1. <legend id='P8pnz'><style id='P8pnz'><dir id='P8pnz'><q id='P8pnz'></q></dir></style></legend>

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

                  <tbody id='P8pnz'></tbody>
                本文介绍了托管 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++ 之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                相关文档推荐

                Consistent pseudo-random numbers across platforms(跨平台一致的伪随机数)
                Vary range of uniform_int_distribution(改变uniform_int_distribution的范围)
                What is a seed in terms of generating a random number?(就生成随机数而言,种子是什么?)
                Is 1.0 a valid output from std::generate_canonical?(1.0 是 std::generate_canonical 的有效输出吗?)
                Getting big random numbers in C/C++(在 C/C++ 中获取大随机数)
                What is the best way to generate random numbers in C++?(在 C++ 中生成随机数的最佳方法是什么?)
                  <bdo id='RU7UR'></bdo><ul id='RU7UR'></ul>

                  <legend id='RU7UR'><style id='RU7UR'><dir id='RU7UR'><q id='RU7UR'></q></dir></style></legend>
                • <small id='RU7UR'></small><noframes id='RU7UR'>

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

                          <tbody id='RU7UR'></tbody>

                          <tfoot id='RU7UR'></tfoot>