Original Post
hi,
this is something i''ve been debugging for 2 days!! and finally i discovered the problem... i made a struct named CELLINFO which contains another struct CELLSTATE... and other several variables (int, DWORD, etc) but the thing is:
i created an array of that structure (CELLINFO) but when i want to set the value:
Blocks[0][15].state = USED; //Blocks is a CELLINFO array which contains CELLSTATE (state)
but when i want to use the entire array i get that the value Blocks[0][2].state is also USED .....BUT I NEVER DID MODIFY IT
i initialize the array with every value at EMPTY.
so i want to know how the heck do i get rid of this bug that is freakin'' me out... i want to finish my program ASAP.
well thanks in advance...