delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/26/08:59:27

From: "Roee Bachar" <roee2 AT netvision DOT net DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: programming interrupt 09H
Date: Wed, 26 Apr 2000 14:54:46 +0200
Organization: NetVision Israel
Lines: 61
Message-ID: <8e6m1o$5ln$1@news.netvision.net.il>
NNTP-Posting-Host: ras3-p72.rlz.netvision.net.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 956750712 5815 62.0.169.74 (26 Apr 2000 12:05:12 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 26 Apr 2000 12:05:12 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

This is a multi-part message in MIME format.

------=_NextPart_000_000A_01BFAF8F.5D568A80
Content-Type: text/plain;
	charset="windows-1255"
Content-Transfer-Encoding: quoted-printable

hallo all

compiler Borland C++ version 3.1    my question is for programming in c

when I'm programming int 09H ( keyboard interrupt ) after several =
presses on the keyboard=20
I'm filling the keyboard buffer.
after that in every press I get the bip sound from the computer speaker.

how can I clean this buffer I've tried  fflush( stdin )  and it's not =
working I'm still getting that bip.


Roee bachar


------=_NextPart_000_000A_01BFAF8F.5D568A80
Content-Type: text/html;
	charset="windows-1255"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dwindows-1255" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>hallo all</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>compiler Borland C++ version =
3.1&nbsp;&nbsp;&nbsp;=20
my question is for programming in c</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>when I'm programming int 09H ( keyboard =
interrupt )=20
after several&nbsp;presses on the keyboard </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I'm filling the keyboard =
buffer.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>after that in every press I get the bip =
sound from=20
the computer speaker.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>how can I clean this buffer I've =
tried&nbsp;=20
fflush( stdin )&nbsp; and it's not working I'm still getting that=20
bip.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><BR>Roee =
bachar<BR></DIV></FONT></BODY></HTML>

------=_NextPart_000_000A_01BFAF8F.5D568A80--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019