从string对象中去掉标点符号
从string对象中去掉标点符号2011-04-04哪热编一个程序,从string 对象中去掉标点符号。要求输入到程序的字符串必须含有标点 符号,输出结果则是去掉标点符号后的string 对象。消除标点#include <iostream>#include <string>#include <cctype>using namespace std;int main(){ string s, result_str; bo...