#include "stdafx.h"
#include <iostream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
const int SIZE = 80;
char buffer1[SIZE];
char buffer2[SIZE];
cin.get(buffer1, SIZE,' ');
//分隔符留在输入流中
cin.get(buffer2, SIZE);
cout << buffer2 << endl;
return 0;
}
#include "stdafx.h"
#include <iostream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
const int SIZE = 80;
char buffer1[SIZE];
char buffer2[SIZE];
cin.getline(buffer1, SIZE, ' ');
cin.getline(buffer2, SIZE);
cout << buffer2 << endl;
return 0;
}