Hello, i'm using ifstream to open a file in a directory. The problem is that the program will create the file if it does not exists (using <open> function). I would like the program to display an error msg if it could'nt find the file.
What function should i use? Thanks in advance for all suggestions.
What function should i use? Thanks in advance for all suggestions.