First Program
Morris Dovey
mrdovey@iedu.org
Fri Oct 1 00:00:00 GMT 1999
Keith wrote:
> Hi, I have Just put GNUGCC on my HP3000. I have had some experience
> with Borland Ansi C. The same "hello world" program works well but I
> cannot find any examples on how to SCANF or GETCHE..etc. Could someone
> post some simple I/O example code. I find it is the easiest way to
> learn.
Keith...
scanf() works the same as an Borland.
getche() is a Borland extension (not ANSI) and isn't (I think) part of the
gcc libraries. If you need it or getch(), e-mail me and I'll send you a
copy of one I wrote.
Morris Dovey
West Des Moines, Iowa USA
mrdovey@iedu.org
More information about the Gcc-help
mailing list