+ 1
How can stop infinite loops in c++?
I know that the following two loops could cause infinit loops. for (;;){} //infinite loop while(true){} //infinite loop Now, if we are traped into such loops, how could we stop system from running forever?
3 Antworten
+ 4
I found the answer by myself. In C and C++, you can simply hold CTRL+Break when you trap into infinite loops! That's a relief! 😏
----------------------------------------------------------
Vote up if it was useful for you... ❤️
----------------------------------------------------------
0
Oh
0
I don’t know c++ or c