when you write a #define, the compiler reads what you have put on the left part, and reads it as if you have put the thing from the right. So you can do this:
Code:
#define number 2
Then when you write number on your code, the complier will read it as a 2
Last edited by painkiller; 04/08/1119:27.
3D Gamestudio A8 Pro AMD FX 8350 4.00 Ghz 16GB RAM Gigabyte GeForce GTX 960 4GB