|
2.6 — Boolean Values « Learn C++
IsEqual function isn’t a bool, it returns a bool. Boolean values are used to represent values that can only be true or false. When we’re talking about whether a value is equal, either it is (true), or it isn’t (false). Consequently, it makes more sense to
www.learncpp.com |
|