1
1
12rbah2019-12-23 17:35:51
go
12rbah, 2019-12-23 17:35:51

What are the ways to store data locally?

How can you store data locally that the application reads at startup and can change while the application is running, with the exception of options with txt, xml? Mb there are some more convenient ways.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Alexander Pavlyuk, 2019-12-23
@12rbah

There are embedded databases. The most popular of them is SqLite. Stores data locally in the specified file. If your data changes, then it is better to use it, and not to crutch yourself on the files.

R
Ronald McDonald, 2019-12-23
@Zoominger

ini.
binary format.
Database.

A
Alexander Melentyev, 2019-12-23
@asmelentyev

yaml, json, env, toml

G
GavriKos, 2019-12-23
@GavriKos

REST API and third party server. Stylish, fashionable, correct.

T
towin, 2019-12-23
@towin

WinApi has functions for working with ini files. This is the simplest. For the rest, you will have to connect external libraries.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question