Using '...' on multidimensional arrays with enums
#1

Is this any way of make this working?

Код:
new test[10] = { 1, ... }; // Works :D

enum testEnum {
    name[128],
    surename[128],
};

new test2[10][testEnum] = { {"John", "Smith"} , ... } // Works :D

new test3[2][10][testEnum] = {
{
   {
        {"John", "Smith"},
        ...
   },
   {
        {"Peter", "something"},
        ...
   }
}
// This last one, does not work (compile error)  :'(
Reply


Messages In This Thread
Using '...' on multidimensional arrays with enums - by trollkemada - 04.04.2013, 21:53
Respuesta: Re: Using '...' on multidimensional arrays - by trollkemada - 04.04.2013, 22:06
Respuesta: Re: Using '...' on multidimensional arrays with enums - by trollkemada - 04.04.2013, 22:14

Forum Jump:


Users browsing this thread: 1 Guest(s)