65,212
社区成员
发帖
与我相关
我的任务
分享#include <cstdlib>
#include <iostream>
#include <string>
using namespace std;
int main(int argc, char *argv[])
{
string s ;
cin >> s ;
s[4] = '\0' ;
cout << s.c_str() << endl ;
system("PAUSE");
return EXIT_SUCCESS;
}