EvilZone

Programming and Scripting => .NET Framework => Topic started by: backdoorkiller007 on January 31, 2014, 05:14:16 PM

Title: C# to C++
Post by: backdoorkiller007 on January 31, 2014, 05:14:16 PM
Hey Guys,


Can you help me buddy. i want to know some programming idea. can we convert c#.net file to the c++ file ?


Thank You,
Title: Re: C# to C++
Post by: techb on January 31, 2014, 05:26:30 PM
You can go from one language to the next. Be a good idea to know both of them before you try and port something though.
Title: Re: C# to C++
Post by: rasenove on January 31, 2014, 05:28:19 PM
http://www.codeproject.com/Articles/310667/NET-Code-Conversion
You should search before you ask.
All im going to say is manually writing the code is the best way for both learning and producing quality shit. Unless you'r in a hurry.
Title: Re: C# to C++
Post by: Phage on January 31, 2014, 09:51:13 PM
Porting code should never be your first option. It will usually end up in messy and bad code. But since you already got the program coded in one language, much of the work will simply be learning the new syntax and libs. So, yeah as already stated, go learn C++ and do it manually.
Title: Re: C# to C++
Post by: Deque on February 02, 2014, 06:19:14 PM
The question is: Why do you want to do it?
I think there is a lot of information missing, so I feel unable to give an appropriate answer.
The logical answer would be: Yes, it is possible.
But I doubt that it is a good solution to whatever problem you want to solve.
Btw: If you want to code in C++.NET you can just use the C# code as is, because .NET languages are made to be interoperable. But yeah, I don't even know if that answer even relates to your problem.