push_back a pointerFirst of all, thnx! I want to see if I understood correctly [code] vector<Course*> vec; while(someth...
push_back a pointerHi, I wanted to know if there's something wrong with this code: [code] vector<Course*> vec; while(s...
erase element from vectorsay I have a vector with 8(0-7) elements. How do I delete the 4th element? [code] vec.erase(vec.beg...
pointers to objects [code] Student *a; Student *b = new Student(); Student *c = new Student(); a=b; b=c; c=a; [/code] ...
vector of pointersgot it! Thnx!
This user does not accept Private Messages