Languages C / C++ Debugging and Error Handling  

CError

download download  
important code information
author:
Eugene Ciloci
minimum requirements:
CError description

A collection of three classes which display a custom error message or display the built-in CRT or Win32 API error message: CBasicError - For custom errors, CLibraryError - For C run time library errors, and CWin32APIError - For Win32 API errors


::::: CError :::::
Eugene Ciloci
Mar 7, 2002

::::: Description :::::
A collection of one base class and two derived classes which hold error messages.

Hierarchy:
CError - Handles custom errors
|
|
+---- CLibraryError - Handles C run time library errors
|
|
+---- CWinAPIError - Handles Win32 API errors

Supports UNICODE

::::: Files :::::
CError.cpp - Implementation
CError.h - Interface
CharsetConversion.* - Ascii<-->Unicode conversion
Test.cpp - Usage example

::::: Legal Stuff :::::
Feel free to distribute this as you wish but please credit me if you use this in your program.
Have Fun!


File List:
@PSC_ReadMe_2515_3.txt1Kb
CError.cpp5Kb
CError.h1Kb
CharsetConversion.cpp2Kb
CharsetConversion.h1Kb
Readme.txt1Kb
Test.cpp1Kb

Similar code
xception (Popularity: ) : Simulates exception-handling in turbo c++ (or any other c++ compilers not currently supporting exception-handling). This code allows throwing of null-terminated strings only but should be sufficient for many purposes.
Easy debugging ouput (Popularity: ) : Gives easy access to a default debugging output. Lets you print out values of type int, string, and char[] as well as discriptive strings.
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Rate me
supported os
stats
downloads 35
version
size in Kb 4
popularity   703/7913373
user rating 5/10
ad


New Code
Popular Code