Date: Sat, 14 Feb 1998 01:24:29 -0600 (CST) From: Andrew Deren To: djgpp Subject: Fstream question Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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