Advertisement

Beginner's question

Started by August 03, 2002 05:01 AM
0 comments, last by lorenzdemey 22 years, 3 months ago
I''m totally new to game programming and recently started learning C++. What I don''t understand is this: everywhere I go I read C++ is the best games programming language (which is why I started learning it), but I also read about OpenGl and DirectX. If you make a game, do you mix the C++ and DirectX, or what? For other, more experienced programmers, this question may look dull, but I just can''t figure out what OpenGl or DirectX is used for, I thought you could program a game if you knew C++...
OpenGL and DirectGraphics/Direct3D are graphics API''s (like a library), not languages. You can use them through many languages, including C and C++. You''ll use many libraries to add on to what standard C and C++ can do (standard C and C++ are limited, but that''s half of what makes them so portable and well supported).

This topic is closed to new replies.

Advertisement