Closed zheng-da closed 2 years ago
the original code has bugs. it only tests the input in the first iteration and exit from the for loop immediately. the code also generated compilation errors in new gcc. i pushed the new code to fix the issue.
Thanks. I fixed it by removing the break, as I wanted that to be a hard failure.
The errexit() function will exit. What is the point for the break?