Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 6th, 2012  |  syntax: None  |  size: 0.24 KB  |  hits: 11  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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)