Click here to Skip to main content
15,897,334 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: exceptions [modified] Pin
Stephen Hewitt28-May-06 22:58
Stephen Hewitt28-May-06 22:58 
GeneralRe: exceptions [modified] Pin
toxcct29-May-06 0:18
toxcct29-May-06 0:18 
AnswerRe: exceptions [modified] Pin
toxcct29-May-06 0:08
toxcct29-May-06 0:08 
Questionassert VS exceptions [modified] Pin
big_denny_20028-May-06 22:01
big_denny_20028-May-06 22:01 
AnswerRe: assert VS exceptions [modified] Pin
_AnsHUMAN_ 28-May-06 22:14
_AnsHUMAN_ 28-May-06 22:14 
GeneralRe: assert VS exceptions [modified] Pin
big_denny_20028-May-06 22:21
big_denny_20028-May-06 22:21 
GeneralRe: assert VS exceptions [modified] Pin
_AnsHUMAN_ 28-May-06 22:32
_AnsHUMAN_ 28-May-06 22:32 
AnswerRe: assert VS exceptions [modified] Pin
Sarath C28-May-06 22:27
Sarath C28-May-06 22:27 
asserts are using only for debug pupose.
suppose if ur buffer getting NULL a endless loop or a lengthy looop, u need not to debug the each loops.
if an assertion occrurs then it will show "This expression failed at this line of source code" then u can trace and correct the bug.

never put ur logic inside the assert macro. because it wont work in release build.

in release build VERIFY macro will satisfy u with the same functionality of assert offer.

I think asserts and exception standing at different areas of erro handling.

We are used to compare with strctured error handling and the normal error handling we are used to follow in "C".

it is depends on ur system to select which is suitable. each mechanism has its own advantages and disadvantages.



SaRath
QuestionUnicode controls for ANSI Build Pin
Neville Franks28-May-06 21:42
Neville Franks28-May-06 21:42 
AnswerRe: Unicode controls for ANSI Build Pin
<color>Aljechin 28-May-06 22:20
<color>Aljechin 28-May-06 22:20 
GeneralRe: Unicode controls for ANSI Build Pin
Neville Franks29-May-06 2:51
Neville Franks29-May-06 2:51 
QuestionMulti threaded programming Pin
Scorpio28-May-06 21:39
Scorpio28-May-06 21:39 
AnswerRe: Multi threaded programming Pin
Roger Stoltz28-May-06 21:50
Roger Stoltz28-May-06 21:50 
AnswerRe: Multi threaded programming Pin
Nibu babu thomas28-May-06 21:51
Nibu babu thomas28-May-06 21:51 
GeneralRe: Multi threaded programming Pin
ThatsAlok28-May-06 22:46
ThatsAlok28-May-06 22:46 
GeneralRe: Multi threaded programming Pin
Nibu babu thomas28-May-06 22:58
Nibu babu thomas28-May-06 22:58 
GeneralRe: Multi threaded programming Pin
ThatsAlok28-May-06 22:59
ThatsAlok28-May-06 22:59 
GeneralRe: Multi threaded programming Pin
Nibu babu thomas28-May-06 23:03
Nibu babu thomas28-May-06 23:03 
AnswerRe: Multi threaded programming Pin
Hamid_RT28-May-06 21:57
Hamid_RT28-May-06 21:57 
QuestionProblem with multi-splitters [modified] Pin
Member 303984328-May-06 21:13
Member 303984328-May-06 21:13 
AnswerRe: Problem with multi-splitters [modified] Pin
Nibu babu thomas28-May-06 21:48
Nibu babu thomas28-May-06 21:48 
GeneralRe: Problem with multi-splitters [modified] Pin
Member 303984329-May-06 18:27
Member 303984329-May-06 18:27 
GeneralRe: Problem with multi-splitters [modified] Pin
Nibu babu thomas29-May-06 18:32
Nibu babu thomas29-May-06 18:32 
GeneralRe: Problem with multi-splitters [modified] Pin
Member 303984329-May-06 20:22
Member 303984329-May-06 20:22 
GeneralRe: Problem with multi-splitters [modified] Pin
Nibu babu thomas29-May-06 20:25
Nibu babu thomas29-May-06 20:25 

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.