about vector....

For everyone, just starting with C++ or programming at all. Ask newbie questions in this forum!

Moderators: Darobat, RecursiveS, Dante Shamest, Bugdude, Wizard

about vector....

Postby panda » Thu Jul 08, 2010 2:36 am

i'm a chinese student......my english is not good....


i want to know how to implement a simple vector by c++.....
User avatar
panda
 
Posts: 1
Joined: Thu Jul 08, 2010 2:31 am

Re: about vector....

Postby t i l e x » Fri Jul 09, 2010 7:32 pm

Study the structure of std::vector<> and try to mimic its behaviour. Your solution will be naive at first but post here what you come up with and we will be able to give you a hand.
User avatar
t i l e x
 
Posts: 3604
Joined: Wed Dec 03, 2003 3:59 pm
Location: Québec (Canada)


Return to For Beginners

Who is online

Users browsing this forum: Google [Bot] and 0 guests

cron