//2011/02/25 point day8
//create by lichain
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
const int bufferSize=4;
char buffer[bufferSize +1];
char word[bufferSize +1];
int wordOffset=0;
cout << "Enter a string: " ;
//cin.getline(buffer,5);
cin >> word;
cout << "word is " << word << "\n";
return 0;
}
沒有留言:
張貼留言