+ 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 Answers
+ 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