Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading/Openning Files

Status
Not open for further replies.

UmaGrama

Technical User
Sep 8, 2003
33
BR
Hi,

I got a little problem here. When I run the program once... it works fine. Though when I go to run a second time, I am having a problem openning the file. It seems that the file is not getting opened correctly.

I do a file.close(); at the end on the first run. though, it seems that it is having trouble reading it (or openning it).

Please I really need some help to finish this project and move on.

Thanks.
 
always test if(file.bad())file.clear();

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top