Updated specific locations to be searchable, take a look at Las Vegas as an example.

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

2
[C++] What are save files, for a program?
Post Body

The title is misleading and Im not entirely sure how to word what i mean. I know what a save file is and so far from what I've learned in school, a program can read from a file and output to a file. Usually the programs that I've had to make, read in data from a .txt file and outputs to one before closing.

I made an inventory management program (no gui, all command line inputs) and so far I make an object for all the objects that the program is storing and I store them into arrays or trees but after a months worth of data, I've noticed that the structures storing the objects get huge (array size greater than 100/200). So reading from a file takes some time to do because there are a lot of objects.

How do applications and programs have their data saved? Is their data saved in a file and constantly read in from file when the program or app starts?

Author
Account Strength
100%
Account Age
8 years
Verified Email
Yes
Verified Flair
No
Total Karma
6,095
Link Karma
21
Comment Karma
6,043
Profile updated: 1 day ago
Posts updated: 1 week ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
7 years ago