+2

Multiple inputs in code playground problem

So I was using coding playground on this app and I noticed that when my program need several inputs using cin>> in C++, when I run it, it prompts me to do all the inputs together, which is all but convenient and it makes my program almost useless. Ia there a way around this? Can I use some trick to enter inputs one at a time? Also please share how do you write your code for this app? (I noticed many people posted some serious codes and I doubt they did that using this app which by the way doesn't have a debugger)

8/25/2019 8:46:21 PM

mihajlo

6 Answers

New Answer

+3

1) Code playground issues Unfortunately no, there is no way around this. That's why JS is so common here, since people can take advantage of prompt or mouse click sensing. 2) How to write code? I do indeed have a few serious questions about code on this website, but I don't write them here. I like using Visual Studio (the literally best compiler), as it provides an extensive debugging system, supports many languages,, and also has many unique features. You can also download addition systems and languages if you need to. If you're looking for something more simple, or maybe just a quick way to write code, then try using repl.it. It's fast, friendly, and can easily be opened up to do a quick test.

+3

Unfortunately this is a limitation of non web codes with interactive input on code playground.

+3

@mihajlo Yes, there are. Have you tried Dcoder? if that's not your thing try Quoda

+2

yes you can give multiple inputs but it is very limited (like you already said) if you want to give input at seperate times in your program you are gonna need to install a compiler on your pc/laptop

+2

Thanks for the reply I've got an additional question. Right now I'm using my android phone for learning c++ since I am yet to buy a new laptop and I am just a beginner. Now, are there any online moblie-friendly compilers you would recommend or is code playground here on this app as good as it gets. Thanks once again :)

+1

Fuzzy Squid thanks a lot I'll check them out