cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Store bool in .txt
Store bool in .txt
Mar 4, 2011 at 3:49pm UTC
mothmann
(21)
Whats the proper format to store a bool value in a txt file for future loading?
i tried using 0 and 1 and the 0 works but the 1 doesn't seem to return as true.
i tried using true and false but those dont seem to be working at all. i use the
file << boolvar;
operation
Topic archived. No new replies allowed.