用DEV-C++编写的c程序,怎样在电脑上连续运行?或者无限次运行?

2025-03-14 23:23:22
推荐回答(3个)
回答1:

外层套个循环就行啦
while( true )
{
........................
getch();
}

回答2:

while(cin>>n) {
........
}

回答3:

是不是忘记+头文件#include