This book I found to be very useful for game programming, the first thing it teaches you is how to use the Windows API, then it moves onto DirectX, even though it uses a very old version (DirectX 7)...
Type: Posts; User: Will Hemsworth
This book I found to be very useful for game programming, the first thing it teaches you is how to use the Windows API, then it moves onto DirectX, even though it uses a very old version (DirectX 7)...
Perhaps I just wasn't doing it right :p, but I was playing with the settings for quite a long time, and could never quite get it how I wanted.
Either way, Im glad I made the switch to MSVS :D
> i use Dev C++.
When I used Dev C++, I noticed it had terrible indentation problems, thats when I changed to MSVS 2005, and its just takes away so many problems :cool:
If your going to manually round it, CornedBee's suggestion will only work for positive numbers,
but incase you need to do it with a negative value, you can use this simple function.
#define...
Try changing it to something like this.
class Quadtree
{
private:
Quadtree *children;
public:
Quadtree() {
I guess if you just wanted to pass a "char array", not a pointer to one, you could do something like this,
however both arrays need to have the same number of characters otherwise they are...