how do i initililze this rect (RECT collision[1][4];) array staticly
Printable View
how do i initililze this rect (RECT collision[1][4];) array staticly
sorted
What do you mean ?If I recall. This is not the type of syntax I like.Code:RECT collision[] = { {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0} };
What do you mean statically and sorted. Add the static modifier and enter the data in a sorted fashion yourself? What would make RECT a > RECT b?
sorted, as in I fixed it myself in 5 minutes, so no more comment is necessary.