Home » Community » Newbie corner » Usage of DUMPC and other macros by using flags
Re: Usage of DUMPC and other macros by using flags [message #29353 is a reply to message #29350] |
Fri, 15 October 2010 21:52 |
|
281264 wrote on Fri, 15 October 2010 19:53 | Thanks. Perhaps it is more convenient using standard C/C++ assert and #define NDEBUG macro. What is the actual advantage of ASSERT compared with C/C++ assert?
Cheers,
Javier
|
I am not really comfortable with standart C++, so I am not sure what assert does But I believe the advantages of U++ ASSERT might be 1) gui error report in GUI, 2) automatic break when run in debugger and 3) possibility to run custom cleanup function (set using "SetAssertFailedHook(void (*h)(const char *))" ).
Honza
|
|
|
Goto Forum:
Current Time: Mon May 13 18:35:16 CEST 2024
Total time taken to generate the page: 0.02856 seconds
|