前提:单空格分割

    1. char str[100][20] = { 0 };
    2. int i = 0;int j=0;
    3. int count = 0;
    4. char c='0';
    5. while (c!='\n') {
    6. cin >> str[i];
    7. count = 0;
    8. c = getchar();
    9. i++;
    10. }