Storing variable-length strings in a 2D array
#2

Wait, you are working with 2d
something like

Код:
{ {0,0}, {1,1} }
This should compile:
Код:
new Strings[][][] =
{
	{
		{"Hello", "Omfg"}
 	},
	{
		{"World", "Omfg"}
	}
};
and should do what you want.
Reply


Messages In This Thread
Storing variable-length strings in a 2D array - by MP2 - 04.07.2013, 15:44
Re: Storing variable-length strings in a 2D array - by ReVo_ - 04.07.2013, 16:13
Re: Storing variable-length strings in a 2D array - by MP2 - 04.07.2013, 16:24
Re: Storing variable-length strings in a 2D array - by ReVo_ - 04.07.2013, 16:26
Re: Storing variable-length strings in a 2D array - by MP2 - 04.07.2013, 16:50

Forum Jump:


Users browsing this thread: 1 Guest(s)