Guest User

Untitled

a guest
Jul 6th, 2012
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. What is a good way to create a string for crash reporting Win32 C that reflects the cause of the crash?
  2. class Error {
  3. //...
  4. public: Error(string file, string line, string error) ;
  5. };
  6.  
  7. #define ERROR(err) Error(__FILE__, __LINE__, err)
Advertisement
Add Comment
Please, Sign In to add comment