+ 1

How do I handle user input with this app? (C#). Apologies if this is a daft question, but I can't enter anything.

Can't get user input to work.

18th May 2017, 11:21 PM
Bagshot
Bagshot - avatar
4 Respuestas
+ 12
No such thing as a dumb question! SoloLearn's compiler runs your code on a server and sends you the end result back, so you can't enter inputs "live" when your code reached an input statement. That input box you get is for *all* of your program's inputs all at once. You write each input on its own line, and your code will use them one line at a time as it reaches an input statement. This limits what you can do, though. You have to know exactly how many inputs you need, so anything involving randomness/guessing is not possible here. If you want to do true live inputs, run your code through an offline compiler on a desktop/laptop.
18th May 2017, 11:30 PM
Tamra
Tamra - avatar
+ 10
yw :3
18th May 2017, 11:51 PM
Tamra
Tamra - avatar
+ 3
Ahh, I see, thank you.
18th May 2017, 11:39 PM
Bagshot
Bagshot - avatar
+ 1
Good Question i had the same doubt
31st May 2017, 4:27 AM
Ashick Romario.C
Ashick Romario.C - avatar