Its a simple think i want to know i have tried searching for it but i haven't found anything on it i already tried using sleep(5) so i can separate two sounds it still worked only once
#include<stdio.h>
int main(){
printf("\a");
sleep(5);
printf("\a");
}
i am using ubuntu i found one old question but it didn't mention if \a
is written twice why it ring only once ,does the bell is executed only at the end of the program any source,document that have info please feel free to share it! and if bells escape functions works only during termination, why? if there is way the bell can ring (sound) twice how?