+ 2

Wanna make some noise

hey,i want to make a noisy program...in cpp..so i use \a but it doesn't work . why? #include <iostream> using namespace std; int main() { cout << "Hello world!\a" << endl; return 0; } any solution?

3rd Jan 2018, 8:04 PM
sam conann
sam conann - avatar
3 Answers
+ 6
That function is probably not supported in the code playground...
3rd Jan 2018, 9:18 PM
The Coding Sloth
The Coding Sloth - avatar
+ 13
cpp java etc are executed on SL server then SL gives back the results , thats why you wont hear nothing.. maybe people at SL will hear your beep lol only web programs can give you such feedbacks
3rd Jan 2018, 9:28 PM
AZTECCO
AZTECCO - avatar
3rd Jan 2018, 8:36 PM
luciel
luciel - avatar