+ 1

Can I pass a saved code on sololearn to the current code? (C++)

Can I use ifstream for some other codes saved on sololearn as an input to the current code? (C++)

23rd Dec 2019, 4:43 PM
KH Wong
KH Wong - avatar
1 Resposta
+ 1
No. You cannot access the files where sololearn save your code. It maybe are not files at all. You can use "Save As" to create a copy of the current code. You can use copy and paste to copy the characters. Is this something you do in your local IDE. IMHO c++ is a compiled language. Copying code into other code using fstream during run-time is not possible.
23rd Dec 2019, 10:18 PM
sneeze
sneeze - avatar