in reply to Re: How to make this substitutions without splitting the strings?
in thread How to make this substitutions without splitting the strings?
For the serendipitous explorer: please do observe in above example code the oft-perpetrated C pitfall of forcing the fgetc() result to a char type. Return value of fgetc is int; this allows for end-of-file or error condition to be signaled via out-of-band value (EOF).
|
|---|