解决C++/C console程序编译后一闪而过的方法
2007-06-19 11:24

C里面用 getchar();

C++里面用 system("pause");

记得引入头文件

#include <stdio.h>

c++中也可以用cin.get();

相关文章:

  • 2022-12-23
  • 2021-11-15
  • 2021-12-19
  • 2021-12-06
  • 2021-07-27
  • 2021-06-18
  • 2022-12-23
  • 2021-07-10
猜你喜欢
  • 2022-12-23
  • 2021-11-02
  • 2022-12-23
  • 2021-05-24
  • 2022-12-23
  • 2021-11-13
  • 2022-12-23
相关资源
相似解决方案