RE: [Dev-C++] first time error return on checking file stream validity
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ioannis V. <no...@ya...> - 2000-12-31 20:02:37
|
Perhaps it is due to implementation (GCC) mistake. Have you tried it with a
different compiler? Btw because i have erased your original message can you
please resend me the code if it does not bother you, at no...@ya... (so
as to not resend it to the list again).
Ioannis
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Alan Thomas
Sent: Sunday, December 31, 2000 7:04 PM
To: dev...@li...
Subject: RE: [Dev-C++] first time error return on checking file stream
validity
No, the point was to create an invalid file stream, so I can test my
functions to ensure they react correctly to this error. The problem is
that on the first call to the function, it does not return an error. On the
second and subsequent calls, it does return an error.
How does anyone else out there test these sorts of things?
Thanks, Alan
|