托管C ++和C ++ / CLI之间的区别是什么? [英] What is the difference between Managed C++ and C++/CLI?

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

问题描述

什么是完全的老托管C ++和新C ++ / CLI之间的区别?

What is exactly the difference between the "old" Managed C++ and the "new" C++/CLI?

推荐答案

托管C ++在VS2002和VS2003的版本。它有竞争条件和其他严重的错误,以及被混淆。它不再支持。

Managed C++ is the version in VS2002 and VS2003. It had race conditions and other serious bugs, as well as being confusing. It's no longer supported.

在VS2005中,微软引入了C ++ / CLI,这也被接纳为ISO标准。它也支持在VS2008和即将推出的VS2010。

In VS2005, Microsoft introduced C++/CLI, which has also been accepted as an ISO standard. It's also supported in VS2008 and the upcoming VS2010.

他们两人有相同的目标,那就是创建一个使用C ++语言的.NET程序集。语法是不同的(C ++ / CLI管理code是一个更容易区分标准C ++一目了然)和C ++ / CLI也有语法.NET 2.0的功能,如泛型。

Both of them had the same goal, which is to create .NET assemblies using the C++ language. The syntax is different (C++/CLI managed code is a lot easier to differentiate from standard C++ at a glance) and C++/CLI also has syntax for .NET 2.0 features such as generics.

这篇关于托管C ++和C ++ / CLI之间的区别是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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