Pop up box looking for user input in C or C++.... why doesn't it ask what the code is looking for? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Pop up box looking for user input in C or C++.... why doesn't it ask what the code is looking for?

I created a quick test program but while running it there is just a generic pop up box asking for an input... why doesn't it display the actual question from code or what the program is even looking for? https://code.sololearn.com/cvDWrHZoHgXC/?ref=app

1st Feb 2020, 5:16 PM
JP G
3 Answers
+ 1
Ahh yes... that is a good practice... and a very clever idea.. I can see due to the limitations of "SL" by placing at the top of my programs comments of what each user input will be not only will minimize searching the code, but also let's the user know precisely what the required input is without guessing.... Thanks for that!
2nd Feb 2020, 12:30 PM
JP G
0
Thank you for the great response! So there isn't any way to know where the program pointer is or what the program input is looking for?
1st Feb 2020, 5:37 PM
JP G
0
JP G unfortunately not without reading the code first... industrially / commercially we know based on software needs but here it is best to read before you run the code... imo
1st Feb 2020, 6:00 PM
BroFar
BroFar - avatar