sizeof question
#1

Код:
new Float:xfz[][][] = {
{{1.0, 1.0, 1.0, 1.0},
{1.0, 1.0, 1.0, 1.0},
{1.0, 1.0, 1.0, 1.0}},
{{1.0, 1.0, 1.0, 1.0},
{1.0, 1.0, 1.0, 1.0},
{1.0, 1.0, 1.0, 1.0},
{1.0, 1.0, 1.0, 1.0}},
{{1.0, 1.0, 1.0, 1.0},
{1.0, 1.0, 1.0, 1.0},
{1.0, 1.0, 1.0, 1.0},
{1.0, 1.0, 1.0, 1.0},
{1.0, 1.0, 1.0, 1.0}}
};
new h = sizeof(x[1]);
there is 4 data x[1]
the number should be 4
but there is an error.
how to deal with it?
Reply


Messages In This Thread
sizeof question - by jeffleung2 - 17.05.2014, 10:02
Re: sizeof question - by Ciandlah - 17.05.2014, 10:05
Re: sizeof question - by jeffleung2 - 17.05.2014, 10:21
Re: sizeof question - by Konstantinos - 17.05.2014, 10:50

Forum Jump:


Users browsing this thread: 3 Guest(s)