Works on Solaris but not on Linux ! Any idea why?Hi,
I have this following piece of code:
[code]int id = 5;
const char *ptrId;
ptrId = ( i...
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.
This user does not accept Private Messages