How to consume your time in your developing and how to use a efficient way?

       You can debug by adding printf statements to a program , but this is clumsy and very time consumin g .

        A debugger like gdb is a much more efficient debugging tool.

       Adding printf statements in your program is a way that can cosume your more time.If you wanna chanage this situation and scientific way is that use a debugger.

      The very basic debug method is adding printf() statements to a program. This method can work in several types of problems that need to be debugged. One issue with debugging with printf() is that it is very time-consuming. A debugger like gdb lets you view the program in a more expedited way.

posted @ 2011-06-21 09:41  Podevor  阅读(107)  评论(0编辑  收藏  举报