[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppBuilderNDEBUG
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppBuilderNDEBUG
(C++ Builder) Setting NDEBUG
- Click ' (menu) Project | (menu item) Options | (tab) Directories/Conditionals'
- Click on the ellipsis (...) button right of 'Conditional defines'
- In the edit box, type NDEBUG
- Click the button 'Add'
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
- ifndef NDEBUG
this->Caption += " - Debug version";
- else
this->Caption += " - NoDebug version";
- endif
}
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
