Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: HBITMAP from clipboard Pin
Luksky15-Jul-06 5:21
Luksky15-Jul-06 5:21 
QuestionError: LNK2019: Unresolved external symbol... Pin
jon-8013-Jul-06 10:42
professionaljon-8013-Jul-06 10:42 
AnswerRe: Error: LNK2019: Unresolved external symbol... Pin
Chris Losinger13-Jul-06 11:52
professionalChris Losinger13-Jul-06 11:52 
GeneralRe: Error: LNK2019: Unresolved external symbol... Pin
jon-8014-Jul-06 6:15
professionaljon-8014-Jul-06 6:15 
GeneralRe: Error: LNK2019: Unresolved external symbol... Pin
Rilhas17-Jul-06 12:54
Rilhas17-Jul-06 12:54 
QuestionC++ Exception Programming Pin
pgav13-Jul-06 9:50
pgav13-Jul-06 9:50 
AnswerRe: C++ Exception Programming Pin
led mike13-Jul-06 9:55
led mike13-Jul-06 9:55 
QuestionRe: C++ Exception Programming [modified] Pin
pgav13-Jul-06 10:41
pgav13-Jul-06 10:41 
Thanks for the link, that puts me on the right trak; however, considering the following example:

<br />
// standard exceptions<br />
#include <iostream><br />
#include <exception><br />
using namespace std;<br />
<br />
class myexception: public exception<br />
{<br />
  virtual const char* what() const<br />
  {<br />
    return "My exception happened";<br />
  }<br />
} myex;<br />
<br />
int main () {<br />
  try<br />
  {<br />
    throw myex;<br />
  }<br />
  catch (exception& e)<br />
  {<br />
    cout << e.what() << endl;<br />
  }<br />
  return 0;<br />
}<br />


This example does part of what I'm looking for, however I'd like to have more options when using the exception class. I'd like to give the programmer the option of passing in their own error message to the exception class, or to just use the default. Anyone know where I can look fir this?

Thanks.

Patrick

-- modified at 16:47 Thursday 13th July, 2006
AnswerRe: C++ Exception Programming Pin
led mike13-Jul-06 11:45
led mike13-Jul-06 11:45 
AnswerRe: C++ Exception Programming Pin
Joe Woodbury13-Jul-06 11:12
professionalJoe Woodbury13-Jul-06 11:12 
Questionloading movie clip in openGl? Pin
Noor Akhter13-Jul-06 9:49
Noor Akhter13-Jul-06 9:49 
AnswerRe: Plz Help newbie with AsyncSockets Pin
Moak17-Jul-06 4:17
Moak17-Jul-06 4:17 
QuestionHow can i draw the curve shape of mountains in terrain of game? Pin
Noor Akhter13-Jul-06 8:51
Noor Akhter13-Jul-06 8:51 
AnswerRe: How can i draw the curve shape of mountains in terrain of game? Pin
FarPointer13-Jul-06 8:54
FarPointer13-Jul-06 8:54 
GeneralRe: How can i draw the curve shape of mountains in terrain of game? Pin
Noor Akhter13-Jul-06 8:59
Noor Akhter13-Jul-06 8:59 
GeneralRe: How can i draw the curve shape of mountains in terrain of game? Pin
FarPointer13-Jul-06 9:08
FarPointer13-Jul-06 9:08 
GeneralRe: How can i draw the curve shape of mountains in terrain of game? Pin
earl13-Jul-06 11:45
earl13-Jul-06 11:45 
GeneralRe: How can i draw the curve shape of mountains in terrain of game? Pin
Panic2k313-Jul-06 17:21
Panic2k313-Jul-06 17:21 
QuestionC++ code parser... Pin
Nitron13-Jul-06 8:39
Nitron13-Jul-06 8:39 
AnswerRe: C++ code parser... Pin
earl13-Jul-06 11:46
earl13-Jul-06 11:46 
GeneralRe: C++ code parser... Pin
Nitron13-Jul-06 14:42
Nitron13-Jul-06 14:42 
GeneralRe: C++ code parser... Pin
earl13-Jul-06 19:15
earl13-Jul-06 19:15 
AnswerRe: C++ code parser... Pin
Taka Muraoka13-Jul-06 16:14
Taka Muraoka13-Jul-06 16:14 
Questionsorting a list Pin
aafcls13-Jul-06 8:20
aafcls13-Jul-06 8:20 
AnswerRe: sorting a list Pin
FarPointer13-Jul-06 8:45
FarPointer13-Jul-06 8:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.