Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

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 Smile 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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: I'm a U newbie
Next Topic: tar library for u++
Goto Forum:
  


Current Time: Mon May 13 18:35:16 CEST 2024

Total time taken to generate the page: 0.02856 seconds