Сохранение дaнных после выхода | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Сохранение дaнных после выхода

Как можна сохранить данные, которые я задал программе и после выйти из неё, а потом после входа данные сохраняться? Інтересует вопрос как и в веб програмирование так и на других языках С++, Python и так далее.(eще вопрос, для веб програмирование возможен выход использовать SQL?)

9th Feb 2020, 8:48 AM
Alex
Alex - avatar
1 Answer
0
in web yes you can store it easily with sql, just choose your dbms and backend. in other language there are several way. 1. also do it with sql, if you can try to use serverless dbms like sqlite, its much less pain to start the program. 2. file storage, format your data to manageable format. like csv, xml, or json. then write them in a file. 3. use the registry if you're on windows, though i dont really recommend this one since its mostly break the cross-platform ability in most of the language.
9th Feb 2020, 9:47 AM
Taste
Taste - avatar