I want to make a vector that can input data to via classes and save it in a file.
I have done some testing but I don't see how I do cout the entries?
I am assuming I have a vector here?
I have made all the appropriate classes and and when running, I get this output:Code:ParentClass people[ ] = { SubClass("Name", "Adress", Phone) };
the last one is a little weird... did I forget to delete something?Code:ParentClass constructor... SubClass constructor... SubClass destructor... ParentClass destructor... 0x22fef0ParentClass destructor...
I tried this, but it doesn't print extra anything on screen:
Code:std::cout << people;



LinkBack URL
About LinkBacks



