what's different from getch() and getchar()

I don't know the differents about getch() and getchar
I hope someone can help me, thx!
closed account (N85iE3v7)
http://www.cplusplus.com/reference/clibrary/cstdio/

I know I could have explained them here, but I realize that my best will not be at least half as good as the reference on this web site.
getch() is not from C standart library, is from conio.h, and getchar() is from default input/output's standart library.
And conio.h is something that came originally from DOS...

The conio functions are supported by most compilers for Windows, but not Linux, OS X, ...

http://en.wikipedia.org/wiki/Conio.h

Last edited on
Topic archived. No new replies allowed.