int getchar();
#include <cstdio>
int main()
{
// Read the first typed in character.
int iRet = getchar();
printf("The first character you typed: %c\n", (char)iRet);
return 0;
}
© 20072024 XoaX.net LLC. All rights reserved.