Is there any advantage to using C++/CLI over either standard C++ or C#?

后端 未结 4 1971
你的背包
你的背包 2020-12-06 20:37

I\'m not seeing any real advantages, other than the fact that you have a C++ syntax, and with it, things like pointers and destructors.

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-06 20:55

    the really good reason to use C++\CLI is to communicate DotNet language with Native C++, for example many companies migrate first their GUI to .Net and let some logic in C++, and C++\CLI is the good bridge to communicate beteween two techno, you can also use COM components for that, but for many reasons it's not the good choice.

提交回复
热议问题