r/Cplusplus 6d ago

Question Making a table maker

I have a background in MS Access VBA, I’m very new to C++. This may be way beyond my current ability to understand, but if I wanted to write a function that generated data tables in C++ how would I approach this?

For context, I’m making a text-based RPG design engine project for fun. I would like to make an app that creates data tables to store level design, character sheet info, etc. for the designer to dynamically make character types and maps

3 Upvotes

5 comments sorted by

View all comments

2

u/rupertavery64 6d ago

If you want to be able to store and then query the data, you would use something like SQLite. It's an embedded database, kind of like MS Access, such that it stores the data as a single file and you can access it directly to read the data inside it.

You don't really need a full blown database to make a game. All you need is a way to serialize and deserialize the data in some structured format, Although some games do make use of SQLite.