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.
xpi0t0s's Avatar, Join Date: Aug 2004
Use the isspace(c) function. Returns TRUE if the character c is a whitespace character.