structure of a game?

Iam working on a tiny project, and Iam not a beginner, but TOTALLY unstructorized, so I want to know where what code comes...
What I mean is:
Will I open the window in the main.cpp or in the CGame::CGame()...
or where else.
I just want wo know where what belongs, the rest i know.

Thx guyz 4 help :D

Check this website out:

http://www.gamedev.net/
whats dat?
*What's that?
It's a website dedicated to video game articles and discussion.
You should probably make your game as modular as possible (Limit dependencies on other subsystems), and make it good practice to use OOP concepts.
Topic archived. No new replies allowed.