note 9695 deleted from Types by jimw
| From: | jimw@php.net | Date: | Thu, 11 Jan 2001 02:46:02 +0000 |
| Subject: | note 9695 deleted from Types by jimw | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9606@lists.php.net to get a copy of this message | ||
While C++ does use keywords true and false to denote boolean values, the compiler still thinks in
terms of "true=1" and "false=0". Thus the following block is valid C++:
bool tf;
tf = 1; // tf is true
tf = 0; // tf is false