Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
Coding standards
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Keith Thompson, post: 2399292"] Actually, you can implement Boolean values with ints by writing zero or non-zero to them, and by referring to them only in ways that work the same way for any non-zero value. Treating 2 or -1 as "true" is perfectly valid. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Coding standards
Top