Using a database in VC++ or stick to textfiles?

Hey!

Just as the title sais I want to save quite large amounts of data onto something so that i can load it the next time my program is run.
I've done some coding in c#.net before and there I used some database with different tables to save my data, is there something similiar for console programing in VC++ or should i stick to saving my data onto textfiles?
Database access is not exclusive to a particular programming language (C# in your case). Pretty much any database can be accessed by a program in any language.

Modern databases like MS SQL Server and Oracle can be accessed by OLE DB. OLE DB is a binary standard based on COM (Component Object Model) and can be used by any COM-compliant language, C++ included. Look it up and you should be good to go.

BUT, you should take into account the purpose and use of the data. Is the data queried in complex ways? Is the data only stored in an archive? Is the data accessed by multiple users? Is the data accessed across machine boundaries? Must the data be secured? All these (and other) questions should help you decide if you are better off with a database or simple text files.
Thanks for your help!

cool, it's ole db I've been using in c# aswell so that sounds tempting but thinking more about what kind of data I'm going to store I realise that i might aswell use a text document since i guess that will put less stress on the users computer?(the data ain't so complexed really and i don't need any relations between the different data)
Topic archived. No new replies allowed.