Jump to content
  • Advertisement
Sign in to follow this  
yuppies

Whats the Difference?

This topic is 5473 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey guys can you explain the basic difference between C#, C++ .NET and Managed C++? One more thing is there a C++ .NET? If so whats the difference between C++ .NET and C#? And also in comparison to MS VC++? pls enlighten me with this thanks

Share this post


Link to post
Share on other sites
Advertisement
C# is a new language created by microsoft for use with the .Net framework (see here for more information on it) with a similar syntax to C++. When compiling a C# program you end up with what's called a managed exe, which means instead of native code it contains a bytecode which is compiled into native code at run-time (meaning highly architecture specific optimisations can be made). The managed part refers to how the memory is managed, it is all done automatically without the programmer having to do anything themselves. It uses a method called garbage collection where unused objects are automatically freed.

C++. Net can refer to two things. One is the C++ part of Visual Studio .Net (which is basically what MS came up with after VS 6.0). It can also refer to managed C++, which is like normal C++ apart from it has extra keywords so you can use it with the .Net framework and create managed exes (meaning no more having to manage memory manually).

Quote:
whats the difference between C++ .NET and C#? And also in comparison to MS VC++?


C++ .Net and C# are two different languages, MS VC++ refers to the C++ section of MS's VS IDE and compiler.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!