X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Message-ID: <3C8D8843.671EBD84@yahoo.com> From: CBFalconer Organization: Ched Research X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Question about putchar References: <20020311220250 DOT 14748 DOT 00001489 AT mb-ba DOT aol DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 20 Date: Tue, 12 Mar 2002 05:15:23 GMT NNTP-Posting-Host: 12.90.168.6 X-Complaints-To: abuse AT worldnet DOT att DOT net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1015910123 12.90.168.6 (Tue, 12 Mar 2002 05:15:23 GMT) NNTP-Posting-Date: Tue, 12 Mar 2002 05:15:23 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Captainpita wrote: > > I would like to use have the pc speaker beep at certain points in > my program. When I used the Microsoft "C" compiler in the past I > did it by doing the following, > > putchar(7) > > When I try the same in the DJGPP compiler the speaker does not > beep right away. Any ideas what is going on? Try "putchar('\a'); fflush(stdout);" Who knows what 7 means? -- Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT XXXXworldnet DOT att DOT net) Available for consulting/temporary embedded and systems. (Remove "XXXX" from reply address. yahoo works unmodified) mailto:uce AT ftc DOT gov (for spambots to harvest)