用心良苦
c++ - Can I use break to exit multiple nested for loops? - Stack Overflow 媽媽!妳這樣就絕對無法傻傻分不清楚了!Other languages such as PHP accept a parameter for break (i.e. break 2;) to specify the amount of nested loop levels you want to break out of, C++ however doesn't. You will have to work it out by using a boolean that you set to false prior to the loop, se...
全文閱讀