Simple variable define has me stumped

Hi all,

I want to do something like this:

const char *translate[] = {
    { 0x41, 0x1F, 0x00, 0x00 },
    { 0x44, 0x7F, 0x00, 0x00 },
    { etc.... many more      },
};

Now what I want is to be able to, say, look at
** **translate[0x01][0x01]** **
and get the second character in the second line which would be
** **0x7F** **
.

Or, this:[b] translate [0x00][0x01][/b] would give me the second character in the first line, which would be [b]0x1F[/b].

I just can't seem to get it to work, and I know it's simple, and I know I'll kick myself in the rear when I see how it's done... so anyone? How the heck do I do this?

Krupski:
Now what I want is to be able to, say, look at
** **translate[0x01][0x01]** **
and get the second character in the second line which would be
** **0x7F** **
.

Or, this:[b] translate [0x00][0x01][/b] would give me the second character in the first line, which would be [b]0x1F[/b].

const char translate[][4] = {
    { 0x41, 0x1F, 0x00, 0x00 },
    { 0x44, 0x7F, 0x00, 0x00 },
};

The initialisation of an array of 4 pointers to char, is different to the initialisation of a 2-d array of char.

jurs:

const char translate[][4] = {

{ 0x41, 0x1F, 0x00, 0x00 },
   { 0x44, 0x7F, 0x00, 0x00 },
};

Yup, I'm kicking myself. It works... thank you! (karma added too!)