Prathvi
06-05-2008, 09:21 AM
I have a text file. The following code is used to read the file.
char line[80];
while(condition)
{
ifFile >> line;
...
}
Whenever there is a blank line this code skips that line and reads next one. How to read the blank line?
Thanks in advance
char line[80];
while(condition)
{
ifFile >> line;
...
}
Whenever there is a blank line this code skips that line and reads next one. How to read the blank line?
Thanks in advance