Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 21d0a1a

Browse files
Comment out bool std::cin for demo purposes.
1 parent dad7622 commit 21d0a1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ int main() {
2424
std::cout << "\ntaking user input...\n\n";
2525
std::cout << "input bool: ";
2626
std::cin >> my_bool;
27-
std::cin >> std::boolalpha >> my_bool;
27+
//std::cin >> std::boolalpha >> my_bool;
2828

2929
std::cout << "input char: ";
3030
std::cin >> my_char;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /