problem with variables
#1

why this is working:
Код:
new cars[4][0] = {
{432}, {425}, {520}, {447}
};
and this not working:
Код:
new HouseCost[5][0] = {
{35000000} , {20000000} , {15000000} , {15000000} , {15000000} , {50000000}
};
for the numbers that giving me the error:
error 018: initialization data exceeds declared size

and for the }; that giving me the error:
error 010: invalid function or declaration

what is the problem?
thanks.
Reply


Messages In This Thread
problem with variables - by D1ma - 14.06.2010, 05:59
Re: problem with variables - by cessil - 14.06.2010, 06:06
Re: problem with variables - by Joe Staff - 14.06.2010, 06:08

Forum Jump:


Users browsing this thread: 1 Guest(s)