We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96d73fa commit 78d2261Copy full SHA for 78d2261
003-std-cout-cin/02-cin-bool.cpp
@@ -11,7 +11,7 @@ int main() {
11
12
std::cout << "\ntaking user input...\n\n";
13
std::cout << "input bool: ";
14
- std::cin >> my_bool; // does this work?
+ std::cin >> my_bool; // does this work for true or false?
15
16
std::cout << "input char: ";
17
std::cin >> my_char;
0 commit comments