16.02.2015, 18:29
Hi,
How to make array that i can use number and text
And do something like that:
And i could get values
How to make array that i can use number and text
Код:
new Arrayp[][] = { {8078}, {22}, {444} };
Код:
new Arrayp[][] = { {"PPH"}, {"Hghgh"}, {"Hottt"} };
Код:
new Arrayp[][] = { {8078,"PPH","Hghgh"}, {22, "Hottt"}, {954646,"fgfgfg","hlgooty","hhghgrtrt"} };
Код:
Arrayp[ 0 ][ 0 ] - 8078 Arrayp[ 0 ][ 1 ] - PPH Arrayp[ 0 ][ 2 ] - Hghgh Arrayp[ 2 ][ 0 ] - 954646 Arrayp[ 2 ][ 1 ] - fgfgfg Arrayp[ 2 ][ 2 ] - hlgooty Arrayp[ 2 ][ 3 ] - hhghgrtrt