int main(void)
{
string alphabet; string T_p; vector<string>count;
cout << "输入文本 单输入:结束" << endl;
while (cin >> alphabet)
{
if (alphabet == ":")
break;
count.push_back(alphabet);
}
while (getchar()!= '\n')
continue;
for (vector<string>::size_type i = 0; i != count.size(); ++i)
{
for (vector<int>::size_type i1 = 0; i1 != count[i].size(); ++i1)
cout << (char)(toupper(count[i][i1]));
cout << " ";
if (i == 7)
cout << "\n";
}
return 0;
}
10-30
718

03-11
1886

05-16
721
