Ws.cpp
上传用户:dq031136
上传日期:2022-08-08
资源大小:802k
文件大小:0k
源码类别:

VC书籍

开发平台:

C++ Builder

  1. #include <iostream.h>
  2. void main(void)
  3.  { 
  4.    char buffer[256];
  5.    cout << "Enter a word with leading blanks" << endl;
  6.    cin >> ws >> buffer;
  7.    cout << "==" << buffer << "==";
  8.  }