Papers & Presentations

Atoms frequently share what they know in journals, at conferences, and in classrooms.

Way Better Error Handling in C Using CException

Presented by
Presented at
Way Better Error Handling in C Using CException
at
Great Lakes Software Excellence Conference
|
March 1, 2011
Additional Presentations:
Written in
Great Lakes Software Excellence Conference
|
March 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.