12.12.2012 Views

Teach Yourself Borland C++ in 14 Days - portal

Teach Yourself Borland C++ in 14 Days - portal

Teach Yourself Borland C++ in 14 Days - portal

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

420 Day 11<br />

The WARN macro is similar to TRACE except that it allows you to <strong>in</strong>troduce conditions—the<br />

message will be output only if the condition is met. The follow<strong>in</strong>g example sends a message<br />

to the message w<strong>in</strong>dow only if the variable x is greater than 200:<br />

WARN(x > 200, “x = “

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!