What's next...

Started by
3 comments, last by Fruny 18 years, 9 months ago
Hey everyone. I've been programming C++ for a little while now and feel comfortable enough with the language to start getting into some more serious programming. Problem is that I've got no idea where to go. I'm not sure if I should try some Win32 programming or some other alternative libraries like SDL or maybe something completely different. The main problem is that I really don't have any idea what each of these routes entails and what I can accomplish with each of them. So... any suggestions? Any ideas would be greatly appreciated. Thanks in advance,
Advertisement
What do you want to do, precisely? If you want to make games, SDL will probably be more immediately useful than Win32.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
Heh, yeah, that might help =P. Yes, I'm interested in making games. However, you said that SDL would be more "immediately useful." Does this mean that it won't be all that useful farther down the line? I'd rather take the time now to learn something that I can use for a long time than to take a bunch of intermediate steps that I won't end up using all that much.

Thanks for the reply.
SDL will make it easier to get started quickly making games. You give up some OS specific functionality, but gain portability - your app should run on Windows, Mac, Linux, and more - with little or no changes to the code. Also, if you want to later move to 3D graphics with OpenGL, SDL makes it easy to set up a OpenGL context. It will be useful further down the line.
Quote:Original post by AristeDoes this mean that it won't be all that useful farther down the line?


You're not going to build spreadsheets in SDL. Neither will you have access to the dark recesses of the operating system - at least, not through SDL alone. You will, however, have access to the bits that really matter to make a game.

Essentially, if you want to learn game programming using Win32, you'll pretty much start by reimplementing the stuff that SDL does for you. Is that extra control worth the hassle? Who knows... In fact, probably not: SDL is open-source, so once you've mastered it you can start digging around the library internals and extend it as suits you - learning the relevant bits of Win32 along the way.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan

This topic is closed to new replies.

Advertisement