Skip to content

Commit 78d2261

Browse files
committed
Update code for demo.
1 parent 96d73fa commit 78d2261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

003-std-cout-cin/02-cin-bool.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ int main() {
1111

1212
std::cout << "\ntaking user input...\n\n";
1313
std::cout << "input bool: ";
14-
std::cin >> my_bool; // does this work?
14+
std::cin >> my_bool; // does this work for true or false?
1515

1616
std::cout << "input char: ";
1717
std::cin >> my_char;

0 commit comments

Comments
 (0)