+ 17

Can i save file inside php or c++ code or somewhere on sololearn platform?

If not Maybe there is some other way to save data in file, which can be opened every time I want to, even after close and open sololearn app?

23rd Mar 2019, 6:44 PM
SƂawek J.
16 Respostas
+ 9
I do not said anything about saving code. I know that. I want that my programme save something in text file. And for example read it for two days when i come back on sololearn
23rd Mar 2019, 7:14 PM
SƂawek J.
+ 9
Thanks, I will try it.
24th Mar 2019, 6:08 AM
SƂawek J.
+ 8
You can make txt file ? I supose not
23rd Mar 2019, 7:56 PM
SƂawek J.
+ 8
It do not work. Errror. So if no one have a better idea Then only solution I think about from the beginning is external server
24th Mar 2019, 7:09 AM
SƂawek J.
+ 8
For example. Website server could be dangerous. Writable file can encourage bad people :)
24th Mar 2019, 7:48 AM
SƂawek J.
+ 8
But i want that people can see some stuff from this file.
24th Mar 2019, 8:25 AM
SƂawek J.
+ 7
It wont work it should be text file
23rd Mar 2019, 8:10 PM
SƂawek J.
+ 3
Oh, then you can do that in the same way. Just type your text instead of source code and just don't run that.
23rd Mar 2019, 7:24 PM
Jan Ơtěch
Jan Ơtěch - avatar
+ 1
://Yes you can type a text and save as code
23rd Mar 2019, 6:55 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 1
Of course! Code playground is made just for this purpose. Just click on "{ }" symbol in the main menu, tap on "+", choose the language and write your code. Don't forget to save your creation.
23rd Mar 2019, 6:56 PM
Jan Ơtěch
Jan Ơtěch - avatar
+ 1
No, you can't, but you can use e. g. .cpp file as .txt file. It has the same result.
23rd Mar 2019, 7:58 PM
Jan Ơtěch
Jan Ơtěch - avatar