Opening text file validation | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Opening text file validation

So I'm trying to remember how to validate if a text file is real or not. I know to open it it's like InputFile.open ("xxxx") If (! "Xxxx") Cout >> error Is this right??

6th Dec 2018, 10:38 PM
alek
alek - avatar
2 Answers
+ 2
All of this is covered in the C++ tutorial check it out to get an answer to this or provide a comment in the lesson if you don't understand.
7th Dec 2018, 8:19 AM
Mensch
Mensch - avatar
0
Thank you. I may have another question soon if I don't figure it out
7th Dec 2018, 5:33 PM
alek
alek - avatar