Skip to main content
GameDev.net gamedev.net
🔒 Locked

C, C#, Or C++?

Started by ps2hacker Apr 22, 2004 at 4:45 PM 8 replies 1k views
Original Post
ps2hacker
ps2hacker
Which language is the most flexible for game programming? I am making a racing game, and am deciding which language to program in...
~ Developing the futures games, in yesterday's time ~
alnite
alnite
They are all flexible for your racing game.
clayasaurus
clayasaurus
use C# if you don't care about the microsoft only thing and you really like the language.

C++ vs C ? IMO C++ is easier to learn in because of its flexibility, and can do all C can plus more. Unless you have a lot of C experience and can do anything in C, I'd pick C++.

In the end the choice is yours.

edit: oh, if you program for the ps2 then avoid C#

[edited by - clayasaurus on April 22, 2004 6:02:45 PM]
IADaveMark
IADaveMark
Well, a quick tour through the "Gems" books and most other game programming litterature would show a ton of C++. You can probably do the math from there.

Dave Mark - President and Lead Designer
Intrinsic Algorithm -
"Reducing the world to mathematical equations!"

[edited by - InnocuousFox on April 22, 2004 9:17:11 PM]
Dave Mark - President and Lead Designer of Intrinsic Algorithm LLC
Professional consultant on game AI, mathematical modeling, simulation modeling
Co-founder and 10 year advisor of the GDC AI Summit<
comrad
comrad
if you keep with SDL, you might be able to use C# under Linux with Mono: http://www.go-mono.org

comrad
http://freecnc.sf.net - FreeCNC for Linux,BSD,BeOS,Win2K/XP
Oluseyi
Oluseyi
quote:
Original post by ps2hacker
Which language is the most flexible for game programming? I am making a racing game, and am deciding which language to program in...
Which do you know? If you don''t know any, trust me, you''ll have many other more interesting problems before choosing a language becomes significant.

If you know all three, pull one out of a hat.
haro
haro
C# makes it alot easier to get to the point, which is to program your game. If you desire to use OpenGL then the Tao.OpenGL binding is also an excellent resource. Your project would also be completely portable if that matters to you.

Downside: Target PC would need to have the .NET framework installed. Not all PC''s have this, yet. It is ~25 megs large.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.