02.12.2013, 07:52
Quote:
Wow, I am either really tired, or it is incredibly difficult to make sense of your arbitrary test naming/snippets lol. First thing is first, why is tesst's first dimension's size not set? I've generally only seen this when you are explicitly assigning something to it/filling it in...for example:
Код:
new test[][aaaa] = {{1.0,2.0,3.0}, {2.0,3.0,4.0}}; //Might not be 100% valid...haven't touched pawn in like 3 years... |
Quote:
Second, what does "sizeof(tesst[])" print out? 1? I believe all your problems are rooted from you not declaring that first dimension's size (Could have created a constant like MAX_TESST for that, and used that constant instead of sizeof(PickAmount) and sizeof(tesst[]) too...making it a bit nicer).
|
Код:
0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 and so on ...