Say I have a file like so:
1234
56e8
1245
Is there a way I could read one character at a time and perform operations on them? Or, is there a way I can read a line and extract each character from it?
I've been trying to use strtok
and use delimiter but can't seem to find a delimiter that can do the job.