Writing Bug-Free C Code for Windows

Writing Bug-Free C Code for Windows

Describes an alternate class methodology that provides complete data hiding and fault-tolerant run-time type checking of objects in C programs.

Tag(s): C / C++

Publication date: 01 Jan 1995

ISBN-10: 0131838989

ISBN-13: n/a

Paperback: n/a

Views: 23,332

Type: N/A

Publisher: Prentice Hall

License: n/a

Post time: 24 Oct 2004 05:55:05

Writing Bug-Free C Code for Windows

Writing Bug-Free C Code for Windows Describes an alternate class methodology that provides complete data hiding and fault-tolerant run-time type checking of objects in C programs.
Tag(s): C / C++
Publication date: 01 Jan 1995
ISBN-10: 0131838989
ISBN-13: n/a
Paperback: n/a
Views: 23,332
Document Type: N/A
Publisher: Prentice Hall
License: n/a
Post time: 24 Oct 2004 05:55:05
Book exceprts:

Writing Bug-Free C Code for Windows describes an alternate class methodology that provides complete data hiding and fault- tolerant run-time type checking of objects in C programs. With it, you will produce code that contains fewer bugs.

The class methodology helps to prevent bugs by making it easier to write C code. It does this by eliminating data structures (class declarations) from include files, which makes a project easier to understand (because there is not as much global information), which makes it easier to write C code, which helps to eliminate bugs. This class methodology, which uses private class declarations, is different from C++, which uses public class declarations.

The class methodology helps detect bugs by providing for both compile- time and run-time type checking of pointers (handles) to class objects. This run-time type checking catches a lot of bugs for you since invalid object handles (the cause of a lot of bugs) are automatically detected and reported.

In the end, this book is all about the techniques used to write virtually bug-free code. You may not agree with 100 percent of the techniques and that is OK and only fair, since every programmer has his or her own style.




About The Author(s)


No information is available for this author.

Jerry Jongerius

No information is available for this author.


Book Categories
Sponsors
Icons8, a free icon pack