hi everyone, my title seems confusing but i didnt know how to word it any other way so ill explain it a bit better here.
i have declared an array of strings to be,dir. Now my program is supposed load file names into those strings and i want to know how i can count the number of strings being used in that array of strings.
ive tried doing while(dir[i]!=NULL) and various other combinations of functions but i cant think of how to solve this problem.
In my program if i want to add a new file to the dir with user input and the dir is full (all string arrays are being used) then an error message of "directory is full" will show up.
your help is appreciated