How to organize the structure of games?
How to organize the structure of games?
i need a simple framework.
-
- Posts: 62
- Joined: Fri Aug 22, 2008 7:22 am
-
- Posts: 62
- Joined: Fri Aug 22, 2008 7:22 am
think he means sthg else
i dont know which editor you have but f.e. in visual c++ you can create more source files (c++) and header files (h) in one project. normally you add one header/sourcefile for each class to keep the structure.
than you just include the headers at the beginning of a sourcefile where you need them.
if it is that what you wanted to know, then you should read a beginners book of a programming language. there you will learn these things
i dont know which editor you have but f.e. in visual c++ you can create more source files (c++) and header files (h) in one project. normally you add one header/sourcefile for each class to keep the structure.
than you just include the headers at the beginning of a sourcefile where you need them.
Code: Select all
#include myclass.h
if it is that what you wanted to know, then you should read a beginners book of a programming language. there you will learn these things