Adding graphics and sound

Started by
2 comments, last by MaulingMonkey 18 years, 9 months ago
Can you add graphics and sound to c++ programs?
Advertisement
Yes.

EDIT: Oh heck, I'll be nice and answer the next question you'll probably ask... "How?" :P.

Well, you have to use an API of some sort. If you wanted to do 3d graphics, you'd use DirectX or OpenGL (out of the two I'd use OpenGL myself).

For 2d, you can still use 3d APIs like OpenGL... some other options include the Win32 API (look in the MSDN for details) or SDL ("Simple DirectMedia Library").

Besides letting you directly play with pixels, SDL also has a few satellite libraries such as SDL_Mixer, which allows for Sound, and SDL_Net for networking, etc.
...
Quote:Original post by Anonymous Poster
...


I concur.

(seriously, post something if you're going to hit the reply button)

This topic is closed to new replies.

Advertisement