- 1

Using bools and pausing

hello everyone my question is how can you allow the player to select one of the bool options as a choice. Also how can I have each line pause for text and choices.

12th Jan 2017, 11:58 PM
Jonathan Parker
Jonathan Parker - avatar
4 ответов
+ 5
fair enough. well there is a system("pause") call. but they are bad mmk. here is way to do it safely http://www.cplusplus.com/forum/articles/7312/
13th Jan 2017, 12:29 AM
jay
jay - avatar
+ 3
cin...it will pause and wait for input by default.. cin >> choice;
13th Jan 2017, 12:10 AM
jay
jay - avatar
0
maybe its just solo learn. I had made something big and it only stops at one cin. but also wanted each text to come out one at a time leading to the cin>> code. like you're playing a game. each line comes out one at a time
13th Jan 2017, 12:20 AM
Jonathan Parker
Jonathan Parker - avatar
0
thank you. I'll try it on my computer when I get home.
13th Jan 2017, 12:33 AM
Jonathan Parker
Jonathan Parker - avatar