Hi Daniweb users,
I am attempting to make a database in c++ by saving the information to a class and then saveing it to a file.
but i dont know if that is a good way to do it.
Here is a example picture of the database i am making : http://img835.imageshack.us/img835/4648/databaseexample.png
More details of the method i intent to use :
When the user inserts the information into the textboxes the information gets saved(and also reads) in a file.txt like this :
{MEDatabaseid=5}
{
name=Carl
lname=Johnsen
}
thats the way i intend of making a database in c++ but i dont know if there is a better way you guys recommend me.