[Wylug-help] C++ code

Roger Greenwood rg at nthong.freeserve.co.uk
Mon, 28 Oct 2002 00:10:16 +0000


Philip Wyett wrote:
>
> Hi,
>
> fflush(stdin); may help you once input has been taken and it's contents
> can be safely dumped. I would suggest you look at the whole code as it
> is hybrid and never much welcomed by many, especially C++ coders.
>
> Regards
>
> Philip Wyett
>
Good point. By hybrid you mean C/C++? This comes from learning pascal
first, then C, then some C++ stuff, all within a few months.


fflush didn't work by the way. I will keep looking.

p.s. What is a good way (best way?) to get a single character input
(e.g. y/n) ?


TTFN RG