Click here to Skip to main content
15,891,473 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionC++ Exceptions Pin
Chintoo7234-Jan-06 0:06
Chintoo7234-Jan-06 0:06 
AnswerRe: C++ Exceptions Pin
Zdeslav Vojkovic4-Jan-06 0:41
Zdeslav Vojkovic4-Jan-06 0:41 
1. it means that any possible exception type will be caght there
2. yes, like this: catch (MyException& e)
& operator is not necessary, but it is a good programming practice regarding performance
in c++ you can also catch integral types, like: catch (long x)
3. any class/type can be exception tpye, but maybe you would like to have look at the 'exception' class, which is a base class for all exeption classes in standard c++ library
4. as far as i know, there is no portable way to do it.
5. these are not specifically for java developers but it is not that hard.
http://cis.stvincent.edu/swd/except/except.html
http://cplus.about.com/od/beginnerctutorial/l/aa122202a.htm

there is also a lot of in-depth articles on exceptions at Guru of the Week[^] and here on CodeProject
GeneralRe: C++ Exceptions Pin
Chintoo7234-Jan-06 1:17
Chintoo7234-Jan-06 1:17 
GeneralRe: C++ Exceptions Pin
Zdeslav Vojkovic4-Jan-06 2:02
Zdeslav Vojkovic4-Jan-06 2:02 
GeneralRe: C++ Exceptions Pin
Chintoo7234-Jan-06 2:37
Chintoo7234-Jan-06 2:37 
GeneralRe: C++ Exceptions Pin
Zdeslav Vojkovic4-Jan-06 3:38
Zdeslav Vojkovic4-Jan-06 3:38 
GeneralRe: C++ Exceptions Pin
Chintoo7234-Jan-06 3:45
Chintoo7234-Jan-06 3:45 
GeneralRe: C++ Exceptions Pin
Zdeslav Vojkovic4-Jan-06 3:54
Zdeslav Vojkovic4-Jan-06 3:54 
GeneralRe: C++ Exceptions Pin
markkuk4-Jan-06 12:49
markkuk4-Jan-06 12:49 
GeneralRe: C++ Exceptions Pin
Jared Parsons4-Jan-06 5:38
Jared Parsons4-Jan-06 5:38 
AnswerRe: C++ Exceptions Pin
<color>Aljechin 4-Jan-06 0:45
<color>Aljechin 4-Jan-06 0:45 
GeneralRe: C++ Exceptions Pin
Zdeslav Vojkovic4-Jan-06 0:58
Zdeslav Vojkovic4-Jan-06 0:58 
Questionconnecting to server... Pin
Yuwraj4-Jan-06 0:00
Yuwraj4-Jan-06 0:00 
AnswerRe: connecting to server... Pin
sunit54-Jan-06 0:49
sunit54-Jan-06 0:49 
AnswerRe: connecting to server... Pin
Zdeslav Vojkovic4-Jan-06 0:49
Zdeslav Vojkovic4-Jan-06 0:49 
AnswerRe: connecting to server... Pin
ThatsAlok4-Jan-06 1:33
ThatsAlok4-Jan-06 1:33 
QuestionRe: connecting to server... Pin
David Crow4-Jan-06 4:33
David Crow4-Jan-06 4:33 
Questionhow can i check whether notepad.exe is running in taskmanager or not Pin
trinadh_t3-Jan-06 23:43
trinadh_t3-Jan-06 23:43 
AnswerRe: how can i check whether notepad.exe is running in taskmanager or not Pin
Owner drawn3-Jan-06 23:51
Owner drawn3-Jan-06 23:51 
GeneralRe: how can i check whether notepad.exe is running in taskmanager or not Pin
trinadh_t4-Jan-06 0:06
trinadh_t4-Jan-06 0:06 
GeneralRe: how can i check whether notepad.exe is running in taskmanager or not Pin
Owner drawn4-Jan-06 0:13
Owner drawn4-Jan-06 0:13 
GeneralRe: how can i check whether notepad.exe is running in taskmanager or not Pin
<color>Aljechin 4-Jan-06 0:51
<color>Aljechin 4-Jan-06 0:51 
GeneralRe: how can i check whether notepad.exe is running in taskmanager or not Pin
vikas amin4-Jan-06 4:20
vikas amin4-Jan-06 4:20 
GeneralRe: how can i check whether notepad.exe is running in taskmanager or not Pin
Dudi Avramov5-Jan-06 0:46
Dudi Avramov5-Jan-06 0:46 
QuestionRe: how can i check whether notepad.exe is running in taskmanager or not Pin
David Crow9-Jan-06 4:23
David Crow9-Jan-06 4:23 

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.