+ 15

For CLI programs written in code playground that has std output and input interleaved, is there no way of seeing these in order?

With command line interface programs prompting the user for multiple inputs, I currently don't know a way of seeing the output prompts and user input in order. All I see is a generic prompt for multiple inputs, followed by all the user inputs. It's only after we hit the submit button that we see the other output prompts. Without running the program at least once, we're unable to figure out what input the program is asking for. Is there a solution to this problem?

8th Oct 2018, 2:01 AM
Sonic
Sonic - avatar
1 Answer
+ 3
No, there isn't. At least not now. Apparently, code playground merges all input requests in one, before any output. Without any instructions to the user. The only way I can kinda workaround this is to describe in the code, via comments, what the program expects. And hope the tester reads it.
8th Oct 2018, 2:12 AM
Emerson Prado
Emerson Prado - avatar