+ 1

How to print cout info before entering cin data?

When I run a program I've made on my phone, it prompts me to enter all of my cin data first, which often doesn't make chronological sense. When I run the same code on my laptop, the couts and cins happen in the intended order. Is it just my phone? I have a Galaxy S7 Android.

20th Aug 2019, 2:49 AM
Clavis Janes
Clavis Janes - avatar
3 Respuestas
+ 2
Clavis Janes this is the limitation of sololearn application.
20th Aug 2019, 3:38 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
+ 2
The problem is not your phone. One issue is that with SL your executable does not run locally on your phone, so interactive input/output is difficult.
20th Aug 2019, 4:28 AM
Sonic
Sonic - avatar
0
Oh, ok. Thanks.
20th Aug 2019, 1:12 PM
Clavis Janes
Clavis Janes - avatar