I have been trying to learn C++ for a few weeks using online tut's, I want to start making an actual useful programme that I can use at work because I think this is the best way to learn, I am by no means ready to start making a program to do what I require, but I think it will be a fantastic learning curve to build and learn as I go on something that is going to be useful and that I want to see finished. Anyway I wanted to know as I have only used ifstream and ofstream to output to text files at the moment what is the best way to store large amounts of information? Would it be SQL? or is there some other C++ specific methods? I was thinking SQL over text files as I want to store customer details, order details, order history, cost prices, profit and loss, products etc, and I thought SQL would be a structured way to store all this. From my experience with text files it would be more complex to read all the information I want from a text file and put it into some sort of order? Can anyone advise?
This post has been edited by 4D1: 22 October 2009 - 07:45 AM