Way Better Error Handling in C Using CException
GLSEC 2011
April 16, 2011
Good error handling is necessary for any project of significance (i.e. all of them). However, error handling schemes tend to add tremendous complexity and ugliness to C code—especially in low-level programming where error cases are most prevalent.
The concept of an exception cleans up and simplifies error handling beautifully. Unfortunately, the C language has no native support for exceptions. CException adds a basic exception mechanism to C projects, providing many of the benefits of exceptions as present in higher level languages.
Copyright © Atomic Object LLC. - Grand Rapids, MI 49506 - (616) 776-6020 - Contact Us
