Thread overview |
---|
April 07, 2003 iostream bioskey(1) replacement? | ||||
---|---|---|---|---|
| ||||
bs"d Hi- is there an easy way to find out if there are any characters pending in the istream input buffer (without waiting for a carriage return)? I'm looking for a bioskey(1) replacement function that will work in a DOS program under Windows XP (win32). Thanks. |
April 07, 2003 Re: iostream bioskey(1) replacement? | ||||
---|---|---|---|---|
| ||||
Posted in reply to yochanan | Try kbhit(). "yochanan" <yochanan@aquanet.co.il> wrote in message news:b6rb1k$145r$1@digitaldaemon.com... > > bs"d > > Hi- is there an easy way to find out if there are any characters pending in > the istream input buffer (without waiting for a carriage return)? I'm > looking for a bioskey(1) replacement function that will work in a DOS > program under Windows XP (win32). Thanks. > > |
April 13, 2003 Re: iostream bioskey(1) replacement? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | bs"d Thanks Walter - I'll try it. "Walter" <walter@digitalmars.com> ëúá áäåãòä:b6sk92$dao$1@digitaldaemon.com... > Try kbhit(). > > "yochanan" <yochanan@aquanet.co.il> wrote in message news:b6rb1k$145r$1@digitaldaemon.com... > > > > bs"d > > > > Hi- is there an easy way to find out if there are any characters pending > in > > the istream input buffer (without waiting for a carriage return)? I'm > > looking for a bioskey(1) replacement function that will work in a DOS > > program under Windows XP (win32). Thanks. > > > > > > |
April 13, 2003 Re: iostream bioskey(1) replacement? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | bs"d Thanks, Walter - I'll try it. "Walter" <walter@digitalmars.com> ëúá áäåãòä:b6sk92$dao$1@digitaldaemon.com... > Try kbhit(). > > "yochanan" <yochanan@aquanet.co.il> wrote in message news:b6rb1k$145r$1@digitaldaemon.com... > > > > bs"d > > > > Hi- is there an easy way to find out if there are any characters pending > in > > the istream input buffer (without waiting for a carriage return)? I'm > > looking for a bioskey(1) replacement function that will work in a DOS > > program under Windows XP (win32). Thanks. > > > > > > |
Copyright © 1999-2021 by the D Language Foundation