WhiteSpaces and Blank Lines

Light Poster
4Oct2009,09:34   #1
marconi_07's Avatar
Hi,Need help for a 'C' Code to ignore 'WhiteSpaces (Carriage Return, Enter, etc)' and 'Blank Lines' while reading an input file.Thanks,Marconi.
Mentor
4Oct2009,22:43   #2
xpi0t0s's Avatar
Use the isspace(c) function. Returns TRUE if the character c is a whitespace character.