[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Setting up the mail program



On Sat, Feb 01, 2003 at 01:22:17PM +0100, Robert Ian Smit wrote:
> I try to search in all the usual places before asking questions and
> can find most answers. Sometimes digesting the information
> or asking the right question is a problem. For instance I have
> started reading a c++ book. On page 10 the author includes conio.h
> which seems to be a DOS library. I can't find the answer which
> library provides a getch() to code a "Press any key to continue".

You probably want select(), if you want to be able to do other things
while waiting for a key, or perhaps just read() from stdin.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: