How can i insert a code into a program ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can i insert a code into a program ?

after writing program that uses cin I cannot input any key how can I do that.

21st Dec 2017, 1:48 PM
CALEB AFFUL MENSAH
CALEB AFFUL MENSAH - avatar
3 Answers
0
@petr the code page for the input comes all right but the soft keys to enter before you type the " enter " key don't appear on my phone. that is what I mean .
21st Dec 2017, 1:58 PM
CALEB AFFUL MENSAH
CALEB AFFUL MENSAH - avatar
+ 2
Every cin gets input from the keyboard 'til you press Enter (or Return). If there is no possibility for you to enter anything, maybe your program terminates before cin is called. Check your code please.
21st Dec 2017, 1:54 PM
Petr Leliaev
Petr Leliaev - avatar
+ 2
Tap on the input screen and then try again. If nothing happens, maybe try to reboot your phone or install another keyboard (my choice is Gboard). Good luck!
21st Dec 2017, 2:00 PM
Petr Leliaev
Petr Leliaev - avatar