0

Why does Console.Beep not work in the code playground?

It works in visual studio, but since I recently had access to my laptop revoked, I can't use visual studio. I am attempting to use a loop to beep multiple times, starting at 100hz, and incrementing the frequency by 10 each loop. https://code.sololearn.com/cRUwUO33I00B/?ref=app

18th Oct 2018, 9:49 PM
Marthinus
Marthinus - avatar
2 odpowiedzi
+ 1
Your code does not run at your location. It runs on a remote server so it could be working, but you can't ever hear it. Other than Web programs, you get an input prompt if it is detected that your code will want input (you must enter all you will need,) the code & data end up running on a server, your code must complete within a fixed time limit or it is forced to exit, and the output is sent back to your location to get displayed. The app times out and gives up on the server so sometimes you must rerun the program many times to get a completed run.
19th Oct 2018, 12:43 AM
John Wells
John Wells - avatar
+ 1
Oh, all right, thanks! Now I have to wait 4 weeks for the exams to pass to test my code on VS. :|
19th Oct 2018, 8:44 AM
Marthinus
Marthinus - avatar