cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
File Editing
File Editing
Mar 30, 2015 at 4:20pm UTC
CorvetteDude427
(8)
I made a program that allows the user to edit (or append to) a file they previously created. If the user enters a wrong name or misspells the file name, how would I make the program check to see if the file exists w/out creating a brand new file?
Help, please and thank you!
Mar 30, 2015 at 4:46pm UTC
fg109
(709)
http://stackoverflow.com/questions/12774207/fastest-way-to-check-if-a-file-exist-using-standard-c-c11-c
experimental:
http://en.cppreference.com/w/cpp/experimental/fs/exists
Topic archived. No new replies allowed.