I still can't find the answer on the web C# seems to be much better then C++ but still every game that gets released written either on C or C++ not C# is there a reason for it?
What the difference between C/C++ and C# for Game Development?
Collapse
X
-
Tags: None
-
Thanks SvenV just finished reading the info on the link and looks like I went the wrong way...Originally posted by SvenVJup c# is managed, C/C++ aren't
Check out this link: http://cowboyprogramming.com/2008/02...code-in-games/
Was planing to write my Engine code in C# for mostly Physics database and calculation rules, but considering the information you linked to it will be much slower then using straight C or C++ and since C++ is currently used for most of the current engines where I expect my technology get used seems like C++ will be much easier to integrate.
Will start hunting for good C++ books now then and forget all I studied about C# :(
Thanks again.
Gregor McAlenComment
-
There's no need to forget about what you've learned and studied in C#. Well, unless your only goal is to create games then yes probably, but C# is also great. If you're into web design C# is a possible language used when coding asp.net pages, which are pretty neat. You can always build countless amounts of windows apps.Originally posted by Gregor McAlen...Will start hunting for good C++ books now then and forget all I studied about C#...
So, it's your decision. If I were you, I would drop the C# for a while and focus fully on the C/C++ language.
joedeeneComment
-
You are right, it is exactly what I will do.Originally posted by joedeeneThere's no need to forget about what you've learned and studied in C#. Well, unless your only goal is to create games then yes probably, but C# is also great. If you're into web design C# is a possible language used when coding asp.net pages, which are pretty neat. You can always build countless amounts of windows apps.
So, it's your decision. If I were you, I would drop the C# for a while and focus fully on the C/C++ language.
joedeeneComment
-
On the plus side, C# and C/C++ are syntactically very similar... obviously there are the key differences, like importing headers which is somewhat like "using" namespaces. Pointers aren't used so much in C# (on the surface) as they are in C/C++...
So much of what you learned in C# is useful and can be applied in C++. So your time hasn't been completely wasted.Comment
-
I found a lot of semilarities but also the difference creates lots of confusion, so trying to start over with a clear mind.Originally posted by balabasterOn the plus side, C# and C/C++ are syntactically very similar... obviously there are the key differences, like importing headers which is somewhat like "using" namespaces. Pointers aren't used so much in C# (on the surface) as they are in C/C++...
So much of what you learned in C# is useful and can be applied in C++. So your time hasn't been completely wasted.Comment
Comment