C++ to C#

This is a discussion on C++ to C# within the C# Programming forums, part of the General Programming Boards category; I need to convert few of my C++ classes into C# is there any free software available or do you ...

  1. #1
    Registered User Moni's Avatar
    Join Date
    Oct 2002
    Location
    Dhaka, Bangladesh.
    Posts
    104

    C++ to C#

    I need to convert few of my C++ classes into C# is there any free software available or do you know any other way to accomplish it???
    We all are the components of a huge program...... the programmer is always debugging us with His debugger.

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,892
    Why don't you just try compiling them as C++/CLI, with only slight modifications to make them managed? It might "just work", and then you could use those classes from C# as if they were written in C# itself.

    Other than that, I don't think there are any automatic tools. Too complex. You'd have to do it by hand.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21