读书百味

明月何曾是两乡

  • Home
  • About
  • Tags
  • Categories
  • Archives
  • Table of Contents
  • Overview
k1ng

k1ng

84 posts
19 categories
36 tags

使c++执行完后不退出的几种方法

Posted on 2014-04-02 Edited on 2018-12-05 In 编程语言

1,#include <stdlib.h> system(“PAUSE”);
2,getchar()();
3,用ctrl+F5运行程序

4,死循环
5,cin

放弃二级c++的考试
鸡鸣山小记
京ICP备18056338号-1 京公网安备 11011402012428 号
© 2026 k1ng
Powered by Hexo & NexT.Muse
0%