Advertisement

[C++] How do I get this program to print true or false

Started by March 03, 2009 05:13 PM
10 comments, last by ToohrVyk 15 years, 10 months ago
Quote: Original post by dascandy

Actually, it is. C has stdbool.h.


Since the C99 standard it has. Still, many C books around don't mention it (I don't recall if K&R do...). Anyway, I admitted it was a mistake, but I started C before C++, and no book, either source code I could find didn't use stdbool.h. Maybe just so it could still be compatible with older programs, don't know...

Anyway I would really appreciate it if the topic could go on with advices for gbarnes, he's the one in need for guidance ;)
Quote: Original post by dascandy
Actually, it is. C has stdbool.h.
Ah, but I actually meant C89 [wink]

This topic is closed to new replies.

Advertisement