initialization data exceeds declared size
#3

pawn Код:
new NewText[1][3][24/*MAX LENGHT of the string*/]
Quote:
Originally Posted by CutX
Посмотреть сообщение
Код:
new NewText[12][3] =
{
	{"Bussines","1000 credit","100 credit"}
};
new NewText[1][3]

1 is too small
He uses only 1.. why is that small? The first array is row, the second is the column and the third the max lenght for the string is used.
Reply


Messages In This Thread
initialization data exceeds declared size - by deimantas1 - 01.08.2013, 12:20
AW: initialization data exceeds declared size - by CutX - 01.08.2013, 12:26
Re: initialization data exceeds declared size - by Konstantinos - 01.08.2013, 12:26
Re: initialization data exceeds declared size - by deimantas1 - 01.08.2013, 12:50

Forum Jump:


Users browsing this thread: 1 Guest(s)