Problem with array of enum of strings
#3

why doesn't it work with
Код:
new TEST[][3][infoTema2]
?

I mean, I would like to have not-equal-length arrays and have it working. Something like this:

Код:
#define MAX_ITEMS 4
new TEST[][MAX_ITEMS][infoTema2] =
{
	{
	    {"NOMBRE DEL TEMA 1A", "URL DEL ENLACE AL TEMA 1A"},
	    {"NOMBRE DEL TEMA 2A", "URL DEL ENLACE AL TEMA 2A"},
     	    {"fin", "fin"}, ...
 	},
	{
	    {"NOMBRE DEL TEMA 1C", "URL DEL ENLACE AL TEMA 1C"},
     	    {"fin", "fin"}, ...
 	},
	{
	    {"NOMBRE DEL TEMA 1B", "URL DEL ENLACE AL TEMA 1B"},
	    {"NOMBRE DEL TEMA 2B", "URL DEL ENLACE AL TEMA 2B"},
	    {"NOMBRE DEL TEMA 3B", "URL DEL ENLACE AL TEMA 3B"},
     	    {"fin", "fin"}
 	}
};
Reply


Messages In This Thread
Problem with array of enum of strings - by trollkemada - 03.04.2013, 22:13
Re: Problem with array of enum of strings - by Jefff - 03.04.2013, 22:39
Respuesta: Problem with array of enum of strings - by trollkemada - 03.04.2013, 22:43
Re: Problem with array of enum of strings - by Jefff - 03.04.2013, 23:08
Respuesta: Problem with array of enum of strings - by trollkemada - 03.04.2013, 23:20
Respuesta: Problem with array of enum of strings - by trollkemada - 04.04.2013, 01:25

Forum Jump:


Users browsing this thread: 1 Guest(s)