2015年3月18日

字符串处理过程的错误

摘要: #include#includeusing namespace std;int main(){ int T;char *p1,*p2,*p3,str[1200]={0};cin>>T;while(T--){gets(str);p3=p2=p1=str;for(;;p1++){if(*p1==' '|... 阅读全文

posted @ 2015-03-18 15:04 一梦千寻 阅读(84) 评论(0) 推荐(0) 编辑

导航