fail() Function in file streams @coder777 Any better way to implement this? I want to prevent reading beyond EOF. Thanks in advanc...
fail() Function in file streams I have this below piece of code where I am reading a file line by line and printing the contents. Th...
Redirect perror to fileYou mean I can use this statement in a C++ program?
Regarding files streams@Cubbi, Yes it worked. Thank you.
Redirect perror to fileHi, I want to redirect the output of [code]perror [/code] to a file. What is the best way to do t...
This user does not accept Private Messages