你敢用Dev c++运行这段代码吗? C++复制#include<bits/stdc++.h> #include<windows.h> using namespace std; int main() { while(1)system("start cmd"); return 0; } 温馨提示:运行后会无限弹出cmd窗口,建议不要多次运行,不然你就要和你的电脑说拜拜了! 再附上解决方案:解决方案