why is this line:
makes my program crash?Code:int GroupSize[3] = { 6, 1, 0 };
this line appears outside winmain if it matters
why is this line:
makes my program crash?Code:int GroupSize[3] = { 6, 1, 0 };
this line appears outside winmain if it matters
It isn't that line. It's something else in your program, and it just appears to be that line. This is a common issue with you trashing memory some place. It just appears to be that line, call it luck.
If you don't believe me, compile this:
Now run it. Does it crash? No. That means that is not the problem line.Code:int main( ) { int GroupSize[3] = { 6, 1, 0 }; return 0; }
Quzah.
Hope is the first step on the road to disappointment.
oh, you right =) did some tests and solve it out. thakns.