Mail Archives: djgpp/1998/02/14/02:28:05
Does anyone know how to check whether an opening of a file using fstream
was succesfull or not.
ex.
fstream file;
file.open("temp.txt", ios::out);
how do i test whether the open was successful.
Please reply by e-mail to aderen1 AT icarus DOT uic DOT edu (the server I'm using now
will be down for the next 2 days).
Thanks a lot. I know this is off the topic, but I use DJGPP and I thought
someone might know this.
,,,
(0 0)
+-------------oOO----(_)-------------------+
| Andrew Deren |
| aderen AT eecs DOT uic DOT edu |
| www.eecs.uic.edu/~aderen/ader/main.html |
+-------------------------oOO--------------+
|| ||
ooO Ooo
- Raw text -