C++ Win32 Console Tutorial 13 - Boolean To String Conversion Function



This tutorial builds upon the code made within Tutorial 12. Some of the truth tables look like this:

False Or False = 0
True Or False = 1
False Or True = 1
True Or True = 1

A function that will convert a boolean value to a string needs to be made to make the truth table look like this:

False Or False = False
True Or False = True
False Or True = True
True Or True = True

btos is the name of the function that is made in this tutorial.

Code Download
CPPW32T13.zip