19.07.2011, 12:21
Код:
new RoomArray[2][] = { { 0, 1 }, { 0, 1, 2 } }; for(new hotel; hotel < 2; hotel++) { for(new room; room < sizeof(RoomArray[]); room++) { } }
Quote:
sizeof(RoomArray[]) - error 001: expected token: "]", but found "-integer value-" |
Код:
for(new room; room < sizeof(RoomArray[0]); room++)
Quote:
sizeof(RoomArray[0]) - warning 224: indeterminate array size in "sizeof" expression (symbol "") |