Hey there!
I have an array of strings where I declare all strings like this:
to represent 2 chars in one variable. All tend to be only 2 bytes long.Code:string[2] = "\xFB\x9D";
What would be the safest&easiest way to count the number of strings in this array? Because they are not \0-terminated I can't use strlen().Code:char a[2] = "\xFB\x01";
char b[2] = "\xFF\x01";
char c[2] = "\xD1\xF5";
...
char *pitems[] = {a, c, f, z};
Thanks in advance,
Hawk