This is my array...
How do i find out how many different strings are in the array?Code:char *Constants[] = {"WM_COMMAND", "WM_INITDIALOG"};
Printable View
This is my array...
How do i find out how many different strings are in the array?Code:char *Constants[] = {"WM_COMMAND", "WM_INITDIALOG"};
Maybe something like:
Code:sizeof(Constants) / sizeof(char*)
Thanks.