Hi all.
I am trying to play a sound 5 times. If I remove the \n in printf(), the sound plays only once. What is the relationship between the \n and the \a that would cause this behaviour? The printf()'s are seperate statements, so I don't see the correlation.
Thanks.
Code:#include <stdio.h> int main(void) { int count; for(count = 0; count < 5; count++) { int count; for(count = 0; count < 95000000; count++) { ; } printf("hello\n"); printf("\a"); } return 0; }