I’m making a software as a personal project. The software is aimed to act like a personal diary which has to store lots of text and numbers. It’ll not be connected to the internet in any manner, as of now.
My question is- Do I need a database based on SQL etc. or simple file-handling through C/C++ will do?
It all depends on what you are going to do with the data.
If you are just looking for a way to put away a portion of text and numbers, and being able to bring it back later a simple file-handler will be sufficient.
But if you are going to need relations between data sets, if you’d like to search the data in a quite efficient manner, or handle it in a more dynamic manner; a database might be your best bet.
Though you do not need to set up a daemon running MySQL, put it on a dedicated server, optimize the shit out of the disk IO etc etc.. that will probably be overkill by a thousand.
You will certainly get very far by just using SQLite which is a file based database driver, no socket connections are required, if there is only one user who is to access the database at a time it’s a good solution.
Documentation links