Do you mean to make
1) an array of 10
strings
2) a string to hold 10 characters?
If 1, you reference the length with
stringname[index].length()
If 2, you create the string with
char stringname[10] then reference the length with
strlen(stringname)
Reputation Points: 3281
Solved Threads: 896
Posting Sage
Offline 7,749 posts
since May 2006