I have to use multiple object of a class.
Hence i need to store and retrieve the class objects at run time.
How can i store the class objects in a structure ? and retrieve them as required?
Thanks.
I have to use multiple object of a class.
Hence i need to store and retrieve the class objects at run time.
How can i store the class objects in a structure ? and retrieve them as required?
Thanks.
Any way you like in any structure that makes sense for your application. Obvious candidates are plain C arrays, vectors, linear linked lists, maps, hashes, trees...Qt Code:
How can i store the class objects in a structure ? and retrieve them as required?To copy to clipboard, switch view to plain text mode
Obvious the structure would have an array to save the objetcs
so can i get some code help on the same for storing objects in an array ?
Class File is the name of class..
Bookmarks