c++cmb

#include<windows.h>
#include<bits/stdc++.h>
using namespace std;

char ch[1001];

int main()
{
    printf(">>>");
    while(gets(ch))
    {
        system(ch);
        memset(ch, 0, sizeof(ch));
        printf(">>>");
    }
        
    return 0;
}

 

posted @ 2018-08-01 16:56  wbss  阅读(182)  评论(0编辑  收藏  举报