Any Tools to Catch Silly Mistakes in C Code?

后端 未结 11 2886
臣服心动
臣服心动 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:34

    Any good GUI programming environment ("IDE" - Integrated Development Environment) like Eclipse would generate a warning in a case like that.

提交回复
热议问题