would my C++ code still be compatible in a C# compiler?
would my C++ code still be compatible in a C# compiler?
No, not at all, however the unmanaged C++ compiler that comes with VS.net will work. Sounds like you have a lot a reading to do.
no need to be rude, troll
always looking, make an offer. get me out of this place.
what do you mean by "unmanaged"?Originally posted by Troll_King
No, not at all, however the unmanaged C++ compiler that comes with VS.net will work. Sounds like you have a lot a reading to do.
It's just the term Microsoft is using to describe code that does not target the .net framework. In time Microsoft will cut off the ability to write unmanaged code on their operating systems and programmers will be forced to use the .net framework.Originally posted by some dude
what do you mean by "unmanaged"?
What microsoft have said is that they want to change the api to be managed so aplications can be better controled. I don't think that will change that much for programers. It's not like you have a whole lot of access to anything in win NT anyway.
Unmanaged code also don't use the garbage collector so you better keep track of those pointers.
uh, ok, thanks
In unmanaged code you have to make sure that all memory get returned to the OS while the program is runing. If you are using the .NET frame work (managed code)your code will get managed by that framework (Garbage collection) so that you don't get a memory leak. Although it comes to the cost of performance. C# is a special language designed to work well with the .NET framwork and it looks alitle bit like C++ meets VB and mates with Java. C# is only compiling to the .NET framework while you with C++ have the option between managed(safe??) or unmanaged(fast) code.
Last edited by Barjor; 07-26-2002 at 01:03 PM.