Friday, July 31, 2009

In game programming, is C sharp the same as C++?

I'm trying to get into gaming programming and I've started to work with C sharp a tiny bit and I'm wondering if its the same as C++.

In game programming, is C sharp the same as C++?
No, they're different. C++ is an older language that was based on the older ANSI C language. C# is a fairly new language developed by Microsoft that runs off of their .Net platform.


While the basic principles are the same, there are some deeper differences that exist between the two. If you are planning on developing a windows application (using a graphical form and controls) I suggest using C#. In my experience (using both of them) C++ is best for less-graphical applications (more like data processing and stuff like that)
Reply:No, they are very different. C# requires the .Net framework, C++ doesn't. C# has automatic memory management (which in games can be a REAL hassle), C++ has manual memory management.
Reply:Both programming have different syntax but some of it is still the same. On the other hand, the programming semantics of both programming language is same and can be apply by both.


No comments:

Post a Comment