0
Is there a way to read character from a file?
I need to read a string from a file using fstream.h header file.is it possible in solo learn or is there any other way for it?
1 Respuesta
+ 4
If what you need is a file from which to read in the first place...
You have write access to the directory where your code is running.
Try writing a test file, closing it, then opening it again for reading.
SoloLearn will delete files you've created when your application terminates.