Sign in to follow this  

What should I know?

This topic is 4760 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What parts of c++ should i have mastered before I begin game programming? I figuered i need Variable Types Functions Pointers References Clases loops ( do/while ) conditions ( if/case ) And then i suppose im going to start on SDL [Edited by - cyberflame on November 29, 2004 3:31:41 PM]

Share this post


Link to post
Share on other sites
I don't think what you need to know to start programming games (or anything, for that matter) can be summed up in a list.

I'd recommend that you start off with very simple programs, stuff like "Hello, world!", and work your way up to more complex programs and games. I think a "learn as you go" process is the best way to get into programming because you can test your knowledge and you get instant results. It also helps that you can stop at any time to learn something you don't quite understand the first time around.

Good luck.

Share this post


Link to post
Share on other sites
Depending on if you have any other programming expereince I would add these to the start of the list:

variables ( move to the top )
loops ( do/while )
conditions ( if/case )

After that expect to make a number of dumb console programs like:

Guess the number:
5
Correct!!

They may seem dumb at the time but will give you invaluable experience in creating working, finished programs. From there I would do a little bit of reading on how to setup bigger projects in your development environment. Stuff like how to use multiple C++/header files, how to use your debugger etc.

From there you can figure out what graphics library you want to use and start to develop graphical version of the same "Guess the number" until you feel good enough to do something like pong

Share this post


Link to post
Share on other sites
Arg i was kinda in a rush when i made the list so i completely forgot about cases and loops. Let me edit the list.
Also this isnt the first time ive ever programmed. THis is just me trying to get as far far away from basic as i can

(curse you dark basic and your easy syntax CURSE YOUUUUUUUUUU)

Share this post


Link to post
Share on other sites
Learn all of the language constructs. If you don't use them you still may have to know them when you read someone else's code. These are just the foundation, though. On top of that you'll probably end up learning some of the standard libraries that you'll use and also whatever API you choose. Eventually You need to learn how to solve problems using the language, which means breaking down a complex system into smaller steps. This can only be learned with practice. It's also good to study data structures, because data storage and navigation are crucial for complex programs.

Share this post


Link to post
Share on other sites
You're cursing easy syntax??? :)

Don't be too hard on DarkBASIC, programming languages are tools and the more of them you know, the better programmer you'll be. And if you want to get as far away from BASIC as possible we can give you a list of *real* languages ;P

Share this post


Link to post
Share on other sites
yeh i learned blitz basic and now i am learning C++ and it is hard. the hard part is like where to space and have paranthesis.

i can say hello world :)


#include <iostream>
using namespace std;

int main()
{
cout << "hello, worl";
cout.put('d');
return 0;
}

Share this post


Link to post
Share on other sites

This topic is 4760 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this