C, C#, Or C++?

Started by
8 comments, last by ps2hacker 19 years, 12 months ago
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 ~
Advertisement
They are all flexible for your racing game.
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]
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
Author of the book, Behavioral Mathematics for Game AI
Blogs I write:
IA News - What's happening at IA | IA on AI - AI news and notes | Post-Play'em - Observations on AI of games I play

"Reducing the world to mathematical equations!"

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
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.
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.
Just get in the middle -- C++. It''s the industry standard.

MindEngine Development
http://medev.sourceforge.net
Man tell you what forget all those languages and just use
Flash MX 2004 for Designing and Programming your game, you will enjoy more!!!!!!!!!!!!!!!!!!!!!!.... As well as your audience
quote:Original post by alnite
They are all flexible for your racing game.



the best reply of thread
3D Side-Scroller game demo Project-X2 "playable"Lashkar: A 3D Game & Simulation Project demo @ lashkar.berlios.de

This topic is closed to new replies.

Advertisement