11.01.2012, 16:58
I have one define that's: #define AUTOLIIMIT 100
And variable: new autosysteem;
I've tried that: new CarInfo[AUTOLIIMIT+autosysteem][cInfo];
But it will show errors and warnings.
Any idea how fix that problem? Thanks!
Error & Warning
And variable: new autosysteem;
I've tried that: new CarInfo[AUTOLIIMIT+autosysteem][cInfo];
But it will show errors and warnings.
Any idea how fix that problem? Thanks!
Error & Warning
Код:
error 008: must be a constant expression; assumed zero warning 224: indeterminate array size in "sizeof" expression (symbol "") warning 224: indeterminate array size in "sizeof" expression (symbol "") warning 224: indeterminate array size in "sizeof" expression (symbol "") warning 224: indeterminate array size in "sizeof" expression (symbol "") warning 224: indeterminate array size in "sizeof" expression (symbol "") warning 224: indeterminate array size in "sizeof" expression (symbol "") warning 224: indeterminate array size in "sizeof" expression (symbol "") warning 224: indeterminate array size in "sizeof" expression (symbol "") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.