![]() |
#2
lucky5635912011-07-22 08:34
|
# include <iostream>
# include <cctype>
# include <string>
using namespace std;
void main()
{
string s1;
cin >> s1;
for(string::size_type index=0,inde_x=0;index<s1.size();++index)
{
if(!ispunct(s1[index]))
s2[++inde_x]=s1[index];
}
}