39 4 Ddev c++悍将1cpp Error break statement not within loop or switch
The error message "break statement not within loop or switch" indicates that a break statement is being used outside of a loop or switch statement in the file "悍将1.cpp" at line 39.
In C++, the break statement is used to exit a loop or switch statement. It cannot be used outside of these control structures.
To fix this error, you need to ensure that the break statement is placed within a loop or switch statement.
原文地址: https://www.cveoy.top/t/topic/hNZz 著作权归作者所有。请勿转载和采集!