Expected unqualified-id before ‘[‘ token

This is C++, not Java! Declare arrays like this:

int myCashierNums[1000];
int myOrderNums[1000];

Please note that the arrays in C++ must have a size at compile time. In the above example, it is 1000.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)