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

preview_player
Показать описание

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

I would like to make the table, with the text, look like this:

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

So, a function that will convert a boolean value to a string needs to be made. btos is the name of the function used within this tutorial
Рекомендации по теме