WhiteSpaces and Blank Lines

marconi_07's Avatar, Join Date: Aug 2009
Light Poster
Hi,Need help for a 'C' Code to ignore 'WhiteSpaces (Carriage Return, Enter, etc)' and 'Blank Lines' while reading an input file.Thanks,Marconi.
0
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
Use the isspace(c) function. Returns TRUE if the character c is a whitespace character.