Wednesday, January 4, 2012
How to generate beeps?
The escape sequence \a in the printf() string literal:
printf("Listen to the beep now. \a");
generates a beep after "Listen to the beep now." has been displayed. Normally used to alert the user.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment