SyntaxFix
Write A Post
Hire A Developer
Questions
Problems - no way to get the number of strings automatically (that i know of).
There is a bog-standard way of doing this, which lots of people (including MS) define macros like arraysize for:
arraysize
#define arraysize(ar) (sizeof(ar) / sizeof(ar[0]))