Hi I need help on converting the sample c++ code. Can someone please help. Any help would be greatly appreciated. :D
struct sample
{
int type;
long arg1, arg2;
};
struct sample sampletable[2][3] =
{{{ 1, 0, 0 },
{ 2, 0, 0 },
{ 1, 0, 0 }},
{{ 2, 0, 0 },
{ 3, 0, 0 },
{ 4, 0, 0 }},
{{ 5, 0, 0 },
{ 6, 0, 0 },
{ 1, 0, 0 }}}