+ 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?
16 ответов
+ 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
+ 9
Thanks, I will try it.
+ 8
You can make txt file ? I supose not
+ 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
+ 8
For example. Website server could be dangerous. Writable file can encourage bad people :)
+ 8
But i want that people can see some stuff from this file.
+ 7
It wont work it should be text file
+ 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.
+ 1
://Yes you can type a text and save as code
+ 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.
+ 1
No, you can't, but you can use e. g. .cpp file as .txt file. It has the same result.