+ 1
Why do my c++ codes output nothing but occasionally outputs correctly?
I’m a beginner in c++ coding and coding in general and just learnt the basics. When running the code, I get the response of “no output”. I check the code for any mistakes and don’t find any so I run the command again and it outputs what I wanted in the first place without changing anything with the code. This is rather annoying at times as on occasions the code does not output correctly several times. This has really slowed down my learning of c++ coding. Send help and tips in how to solve this problem. Thanks. https://code.sololearn.com/clF5t58tk4h9/?ref=app
2 odpowiedzi
+ 2
There is nothing wrong with your code. It's most likely your Internet connection. Keep retrying and it should work.
If your using mobile data try to find a better spot, for better signal.
If your using WiFi from your house's WiFi router try to place it to the central of your house as much as possible.
I'm also a beginner in C++, but don't let things like this stop you ok :).