1 #include <iostream>
 2 
 3 /* run this program using the console pauser or add your own getch, system("pause") or input loop */
 4 using namespace std;
 5 int main(int argc, char** argv) {
 6     int c;
 7     cout<<"enter a sentence:"<<endl;
 8     while((c=cin.get())!=EOF)
 9     cout.put(c);
10     return 0;
11 }

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-17
  • 2021-12-12
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-09
  • 2021-12-14
相关资源
相似解决方案