const static char *g_szTestDataFiles[] = {
".\\TestData\\file1.txt",
".\\TestData\\file2.txt",
".\\TestData\\file3.txt",
".\\TestData\\file4.txt",
".\\TestData\\file5.txt",
".\\TestData\\file6.txt"
};
Is there way to programmatically determine how many items is in that thing? I could always do #define NUM_DATA_FILES 6
or const int NUM_DATA_FILES=6
but is there a better way? I don't think there is, but this seems too basic and I want to make sure i'm not forgetting something . . .