relation between integer and pointer is not defined
add _getc function