首页 > 其他 > 详细

用来清除某模板前面恶心的数字。。。

时间:2019-08-30 20:04:41      阅读:72      评论:0      收藏:0      [点我收藏+]
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define inf 0x3f3f3f3f
#define N 2000
int main(){
    ofstream outfile;
    outfile.open("out.txt");
    string sss;
    while(1){
        getline(cin,sss);
        stringstream ss(sss);
        string tmp;
        ss>>tmp;
        while(!ss.eof()){
            ss>>tmp;
            cout<< <<tmp;
            outfile<< <<tmp;
        }
        cout<<\n;
        outfile<<\n;
    }return 0;
}

技术分享图片

用来清除某模板前面恶心的数字。。。

原文:https://www.cnblogs.com/guanwen769aaaa/p/11436614.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!