Loop will run at most once (loop increment never executed)

后端 未结 2 2056
甜味超标
甜味超标 2021-01-20 02:51

I am receiving this error in XCode 6.3.2:

Loop will run at most once (loop increment never executed)

I have tried for (int

2条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-20 03:06

    Move this line:

    return 0;
    

    It will end the loop (function as well as program!).

提交回复
热议问题