#8

MAX_GANGS is defined like:
Код:
#define MAX_GANGS 8
Printfs shows me this in the console:
Код:
[20:04:19] Loop number 1, teritory ID: 0
[20:04:19] owner: 0; owner's colorid: 
[20:04:19] color: 9900FFAA
[20:04:19] Loop number 2, teritory ID: 1
[20:04:19] owner: 1; owner's colorid: 
[20:04:19] color: 55FF00AA
[20:04:19] Loop number 3, teritory ID: 2
[20:04:19] owner: 2; owner's colorid: 
[20:04:19] color: CC00FFAA
[20:04:19] Loop number 4, teritory ID: 3
[20:04:19] owner: 3; owner's colorid: 
[20:04:19] color: FF9900AA
[20:04:19] Loop number 5, teritory ID: 4
[20:04:19] owner: 4; owner's colorid: 
[20:04:19] color: DDFFAA
[20:04:19] Loop number 6, teritory ID: 5
[20:04:19] owner: 5; owner's colorid: 
[20:04:19] color: 64FFAA
[20:04:19] Loop number 7, teritory ID: 6
[20:04:19] owner: 6; owner's colorid: 
[20:04:19] color: FFFF00AA
Yes every teritory has a valid owner.

EDIT:
When i was on my laptop that error appeared.
But now i'm on my PC and everything works fine.. lol
Reply


Messages In This Thread
Help: Run time error 4: "Array index out of bounds" - by FaLLenGirL - 04.11.2016, 16:42
Re: Help - by Desaint - 04.11.2016, 18:38
Re: Help - by Vince - 04.11.2016, 19:46
Re: Help - by FaLLenGirL - 04.11.2016, 21:13
Re: Help - by FaLLenGirL - 05.11.2016, 07:27
Re: Help: Run time error 4: "Array index out of bounds" - by FaLLenGirL - 05.11.2016, 11:37
Re: Help - by Desaint - 05.11.2016, 16:40
Re: Help - by FaLLenGirL - 05.11.2016, 18:12

Forum Jump:


Users browsing this thread: 1 Guest(s)