U++ framework
Do not panic. Ask here before giving up.

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: 1244
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: Fri Nov 27 20:50:15 GMT+1 2026

Total time taken to generate the page: 0.00846 seconds