now in order to fill a string with spaces I need to initialize size...
but I need to do something else

1234567891011121314151617181920

# include <iostream># include <algorithm># include <string>usingnamespace std;
struct name
{
string sentence [100] ; // initialized size
} ;
int main ()
{
name a [100] ;
while (counter < 2)
{
getline (cin , a[counter].sentence) ; // in order to make this line correct I will need to put the size of the sentence.......what size can I put to make the user enters a line
index [counter] = a[counter].sentence .length () ;
counter ++ ;
}
}