How do I make my program beep.
michelbi at oregon.uoregon.edu
michelbi at oregon.uoregon.edu
Tue May 29 04:11:35 AEST 1990
In article <1990May27.000808.13551 at utzoo.uucp>, henry at utzoo.uucp (Henry Spencer) writes:
> In article <3472 at umn-d-ub.D.UMN.EDU> halam2 at umn-d-ub.D.UMN.EDU (Haseen Alam) writes:
>> The K&R says that '\a' is an alert (audible bell), but how do I use it to
>> make my program beep? All my attemps were vain!!
Your best bet is to printf("\a"); or printf("\c", 7); I think.
I hope this helps
Michel Biedermann michelbi at oregon.uoregon.edu
U. of Oregon
More information about the Comp.lang.c
mailing list