Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   WhiteSpaces and Blank Lines (http://www.go4expert.com/forums/whitespaces-blank-lines-t19660/)

marconi_07 4Oct2009 09:34

WhiteSpaces and Blank Lines
 
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 4Oct2009 22:43

Re: WhiteSpaces and Blank Lines
 
Use the isspace(c) function. Returns TRUE if the character c is a whitespace character.


All times are GMT +5.5. The time now is 10:43.