25.04.2016, 20:52
Code:
Compiler:
Where is the problem?
Btw:
-> NO ERROR
PHP код:
new const constLen = sizeof(FILE_PATH_PLAYERDATA) + MAX_PLAYER_NAME + 4;
new filePath[constLen]; // ERROR
PHP код:
error 008: must be a constant expression; assumed zero
Where is the problem?
Btw:
PHP код:
new const constLen = sizeof(FILE_PATH_PLAYERDATA) + MAX_PLAYER_NAME + 4;
printf("%i", constLen);