there is template
suppose vectorv, vectorv
how can we make vectorv.
can you help to explain with example, BOOKS can have any properties??
User defied template
yes
u can have vector v;
book can be declared as a class
it can have any propery
int string bool other primitive data type
u can make a vector v;
push_back book object
then access the values of each object u have stored in the vector
i am attaching a sample code for ur understanding