Forum: C++ Aug 7th, 2008 |
| Replies: 24 Views: 3,616 But if there are different varible types then how do I store them in the same vector and how do I get each piece of data on a line of my text file to be stored in a vector, my text file goes (name,... |
Forum: C++ Aug 5th, 2008 |
| Replies: 24 Views: 3,616 One thing I do not understand is what is an element, is it the whole line from the txt file or is just a piece of data from it, say the accNum? I just cannot seem to be able to grasp who vectors... |
Forum: C++ Aug 5th, 2008 |
| Replies: 24 Views: 3,616 How do you load the data from the txt files into a vector, thats what I can't understand. I have changed my program so that it only uses on text file, but each line of that files starts with either... |
Forum: C++ Aug 5th, 2008 |
| Replies: 24 Views: 3,616 Don't shoot me for this, but where do I write the structure for member type (I have two child classes and one parent class that defines the objects) and where do I put "vector<Member*>" and what do I... |
Forum: C++ Aug 5th, 2008 |
| Replies: 24 Views: 3,616 Are you saying that it would be better to output both member types in one text file? |
Forum: C++ Aug 4th, 2008 |
| Replies: 24 Views: 3,616 I wonder how you guessed that! Thanks for the help guys. |
Forum: C++ Aug 4th, 2008 |
| Replies: 24 Views: 3,616 Thanks for all that code but how would that be used in my program as I have two member types, a full member and a young member type. These member types have there own classes and a derived from a... |
Forum: C++ Aug 4th, 2008 |
| Replies: 24 Views: 3,616 Thanks a million! Will be of great help. |
Forum: C++ Aug 4th, 2008 |
| Replies: 24 Views: 3,616 Thanks coolgamer48, but how would you load the data from the txt file into the STL Vector |
Forum: C++ Aug 4th, 2008 |
| Replies: 24 Views: 3,616 Thanks for the help, but could you please expand on point number 2. ArkM. What is my text database file? |
Forum: C++ Aug 4th, 2008 |
| Replies: 24 Views: 3,616 C++ reading text files
I have a program which I am writing which manages a savings club. I have set up a functions which creates members (there are two members types) and outputs there data to a... |