Is it possible to save data on first run and reuse on another run? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is it possible to save data on first run and reuse on another run?

29th Jan 2020, 1:41 AM
Solestebano
2 Answers
+ 1
you can, it's called file handling. you save your data when you run your program on a file. then when you run it the second time it would read the file again and reuse the data that is saved. the file can be anything from a simple .txt file into a database that you host. all that matters is that if it can store and read data, then you can use it to save and reuse your data to your program.
30th Jan 2020, 8:14 PM
Shen Bapiro
Shen Bapiro - avatar
0
connect to a database to store your data for example Google Firebase https://code.sololearn.com/Wp7ioJa1Pule/?ref=app
29th Jan 2020, 2:11 AM
Gordon
Gordon - avatar