dev_15 wrote:
Hi, Does anyone know of any good links to sites etc which have
exercises where you need to find out cause of runtime errors
in a given piece of code. I am a bit weak in this area.
Are there any books with these type of problems in?
There is an excellent book about finding bugs called "Why programs
fail". It's not C++ specific, but you can use it for learning general
methods of finding bugs and problems in code, it also explains
effective usage of debugging tools. Examples use DDD, which is a
graphical interface to gdb, which is a C/C++ debugger...
Regards
Stephan