Beginners question about game programming

Billbob

Distinguished
Feb 20, 2011
2
0
18,510
Hey, I am just learning to program. I've watched some tutorials for programming in java and c++ and I want to know what programming language I should use for game development. Im very new to the programming scene and want to know which programming language is best for game development. Also, are there any other things I should know about such as opengl? I was reading a post on another forum saying that beginners should start learning to use opengl before programming languages.
 
Solution
At some stage you will need to learn about DirectX and/or OpenGL in order to do any serious game programming. But if you don't know any programming languages then there's no way that you are going to understand those technologies.

Get a C/C++ compiler (Visual Express C++ is free and very good) and learn at least the basics of C, and be comfortable writing a few simple programs, before delving too much into other subjects.

C and/or C++ are the best languages to use as they are the "natural" languages that Windows (or, indeed, Linux) is written in and their use makes it easier to access the facilities that the OS offers. This is particularly true when performance is important, which is normally the case with games programming.

Good...

Ijack

Distinguished
At some stage you will need to learn about DirectX and/or OpenGL in order to do any serious game programming. But if you don't know any programming languages then there's no way that you are going to understand those technologies.

Get a C/C++ compiler (Visual Express C++ is free and very good) and learn at least the basics of C, and be comfortable writing a few simple programs, before delving too much into other subjects.

C and/or C++ are the best languages to use as they are the "natural" languages that Windows (or, indeed, Linux) is written in and their use makes it easier to access the facilities that the OS offers. This is particularly true when performance is important, which is normally the case with games programming.

Good luck, and have fun - that's what it's all about.
 
Solution