User profile: eliranko

User info
User name:eliranko
History
Joined:
Number of posts:8
Latest posts:

push_back a pointer
First of all, thnx! I want to see if I understood correctly [code] vector<Course*> vec; while(someth...

push_back a pointer
Hi, I wanted to know if there's something wrong with this code: [code] vector<Course*> vec; while(s...

erase element from vector
say 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 pointers
got it! Thnx!

This user does not accept Private Messages

User: eliranko

  • Public profile