delorie.com/archives/browse.cgi | search |
From: | "Thanhvu Nguyen" <txn131 AT psu DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: djgpp complains about boolalpha |
Date: | Sat, 5 Feb 2000 21:09:39 -0500 |
Organization: | Penn State University, Center for Academic Computing |
Lines: | 11 |
Message-ID: | <87ikuu$e22@r02n01.cac.psu.edu> |
References: | <87hepf$v0k AT r02n01 DOT cac DOT psu DOT edu> <03ro9sc0e7cpef036bce65r6f0nbobib1a AT 4ax DOT com> |
NNTP-Posting-Host: | access-isdn1-13.hbg.psu.edu |
X-Authinfo-User: | txn131 AT psu DOT edu |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2919.6600 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2919.6600 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
ansi/iso standard provides data type bool .. and boolalpha will print out either true or false. no header needed .. it was compiled fine under vc++ 6 e.g bool boolean = false; cout << boolalpha << boolean << endl; this will print "false"
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |