Any Tools to Catch Silly Mistakes in C Code?

后端 未结 11 2890
臣服心动
臣服心动 2021-02-20 08:11

I had a nasty typo that wasted my time and my colleague\'s time, it was something like this:

for (i = 0; i < blah; i++); // <- I had a semi-colon here, tha         


        
11条回答
  •  一向
    一向 (楼主)
    2021-02-20 08:51

    A good syntax highlighter will make some cases like this more visible.

提交回复
热议问题