hi,
to use getc from file, it is like this
c=getc(f) where f is the filepointer...
my problem is that i want to atoi the value read ....
for example if the value is read 2, i want to read 2 and not ascii 50...
could anyone pls help? i tried c=atoi(getc(f)) which is wrong....
Start Free Trial