garishnikov
Programmer
Hi
Could anyone tell me how to test for a blank line. I have the following but it obviously doesnt work:
if(*rawLine != NULL)
{
/* do stuff */
}
where i have the declaration:
char *rawLine;
which points to a string.
I simply want to ignore blank lines.
Could anyone tell me how to test for a blank line. I have the following but it obviously doesnt work:
if(*rawLine != NULL)
{
/* do stuff */
}
where i have the declaration:
char *rawLine;
which points to a string.
I simply want to ignore blank lines.