adding getChar.c