Chat on IRC |
Input in C
Posted by jay_dee [send private reply] at May 11, 2003, 06:45:06 PM
I'm learning C and am wondering if there is any difference between getc(stdin) and getchar()
Posted by Psion [send private reply] at May 11, 2003, 09:42:30 PM
None
Posted by jay_dee [send private reply] at May 11, 2003, 11:42:17 PM
Oh ok, thanks.
Posted by CodeRed [send private reply] at May 15, 2003, 01:17:57 AM
Yeah, getchar is defined in stdio.h if I remember correctly, and in my experience MS Visual Studio HATES stdio.h, don't ask me why.
Posted by CViper [send private reply] at May 15, 2003, 03:53:51 AM
I always include stdio.h, even in MFC applications, and I never had any problems.
Register as a new user | |||||||