C++不让程序一闪而过

末尾加上System("pause")

不过需要注意,这个只在win32下有效。不具备可移植性。

原文地址:https://www.cnblogs.com/hont/p/4195175.html