Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » How to prevent the opening of a file that does not exist
How to prevent the opening of a file that does not exist [message #3774] Sat, 24 June 2006 13:26 Go to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

I'm opening a file for reading purpose with:

FileIn in(filename);

I would like to know which is the best method (in.IsOK(), in.IsError(), ...) to prevent the case in which the file doesn't exist.

Thank you,
Luigi
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: String - Unicode?
Next Topic: Translation Problems (German)
Goto Forum:
  


Current Time: Tue May 14 10:42:12 CEST 2024

Total time taken to generate the page: 0.02304 seconds