Writing Solid Code: Microsoft Techniques for Developing Bug-free C. Programs Steve Maguire
Written by a former Microsoft developer, this book takes on the problem of bugs by examining the development process and the places where developers typically make mistakes. The author provides practical solutions for detecting mistakes and examples of how bugs are caught at Microsoft. More advanced sections talk in detail about stepping through code to find programming errors and using the C run-in library as an ally against bugs. This book is of special interest to readers who have bought "Programming Windows", "Microsoft Guide to C++ Programming", "Microsoft C Run-Time Library Reference" or "Code Complete".