multi-dimensional arrays must be fully initialized
#1

Код:
new NumberNames[8][6] =
{
	{"ZERO"},
	{"ONE"},
	{"TWO"},
	{"THREE"},
	{"FOUR"},
	{"FIVE"},
	{"SIX"}
	
}; //error here
Wanna use it in this form:
Код:
new string[255]; format(string, sizeof(string), 
"0 is %s | 1 is %s | 2 is %s | 3 is %s | 4 is %s | 5 is %s | 6 is %s", 
NumberNames[0], NumberNames[1], NumberNames[2], NumberNames[3], NumberNames[4], NumberNames[5], NumberNames[6]);
Error : multi-dimensional arrays must be fully initialized, nevermind if ' { ' & ' } ' is there or not.

Thanks
Reply


Messages In This Thread
multi-dimensional arrays must be fully initialized - by erminpr0 - 11.02.2015, 15:00
Re: multi-dimensional arrays must be fully initialized - by ATGOggy - 11.02.2015, 15:05
Re: multi-dimensional arrays must be fully initialized - by DaniceMcHarley - 11.02.2015, 15:05
Re: multi-dimensional arrays must be fully initialized - by erminpr0 - 11.02.2015, 15:25

Forum Jump:


Users browsing this thread: 1 Guest(s)