Есть ли инструмент, который может конвертировать код C++ в код C#
Есть ли инструмент, который может конвертировать код C++ в код C#.Спасибо.
xenotron
I think its better to convert your code manuall because I don't believe that such an automated translater can do good job. The tools these languages provide are quite different and they have other conceptual differences (like object lifetime). How does this compiler handle different smart pointers - just to pick something I suspect to be hard for the translator. I think the generated C# code for a non-trivial C++ code can only be garbage compared to one that has been redesigned and rewritten by a human. The problem is that often there is no one-on-one mapping because of the conceptual differences - in such cases a new design is needed and the translator won't be thinking istead of you. :-)
Volynsky Alex
http://forums.asp.net/t/1213219.aspx/1
http://social.msdn.microsoft.com/forums/en-US/csharplanguage/thread/cbcb354b-cfce-4084-a9de-99d6c6779f7d/
http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/b33a2d46-c2a0-45ea-a29d-2c16ac669c52/
http://www.tangiblesoftwaresolutions.com/Product_Details/CPlusPlus_to_CSharp_Converter_Details.html