0

C++ fstream sololearn

Hello! I would like to know if the <fstream> header in c++ works properly. (reading from files and writing on in files)

3rd Jul 2021, 9:29 PM
Wobble Wolf
Wobble Wolf - avatar
1 Resposta
+ 4
On SoloLearn, it works partially, in the sense that while you should be able to use everything inside, all files are temporary, i.e. if you want to read from a file, you need to create it first, and created files are deleted after the code has been executed (this is due to your code being executed on their servers, as opposed to your local machine).
3rd Jul 2021, 9:42 PM
Shadow
Shadow - avatar