The function getchar() is perhaps named in such a way as to be misleading to novice programmers. It does get a character, but it returns an int. Always assign the return value of getchar() to an int type variable. Read a little more about getchar()
Author : Rob
Monday, February 23, 2009
Subscribe to:
Post Comments (Atom)
0 nhận xét:
Post a Comment