Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!ogicse!cs.uoregon.edu!oregon!michelbi From: michelbi@oregon.uoregon.edu Newsgroups: comp.lang.c Subject: Re: How do I make my program beep. Message-ID: <19620.26610767@oregon.uoregon.edu> Date: 28 May 90 18:11:35 GMT References: <3472@umn-d-ub.D.UMN.EDU> <1990May27.000808.13551@utzoo.uucp> Distribution: usa Organization: University of Oregon Lines: 11 In article <1990May27.000808.13551@utzoo.uucp>, henry@utzoo.uucp (Henry Spencer) writes: > In article <3472@umn-d-ub.D.UMN.EDU> halam2@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@oregon.uoregon.edu U. of Oregon