How do I calculate the no. of strings in a string array?
I came around this similar question. But the advantage I have is that i
know that each string is 260 char long.
Any hope?
int noOfStrings = sizeof(stringArray)/sizeof(stringArray[0]);
This doesn't work.
No comments:
Post a Comment