c语言解决办法:
#include <stdio.h>
在主程序中加一句
getchar();
按Enter键就可以退出。
c++解决办法:
#include <iostream>
system("pause");
c语言解决办法:
#include <stdio.h>
在主程序中加一句
getchar();
按Enter键就可以退出。
c++解决办法:
#include <iostream>
system("pause");