linked list system C++

Need to write a code in C++ for the following problem.

In a Parking lot a car is parked and said to be "VIP" if have some fixed time for parking and then have to leave after that specified duration,and all VIP cars came for parking are given a key,the VIP cars are given priority over the other cars,and it effects their arrangement order in the lot,i.e. the car with larger key number is parked first,and the car with less key number is parked later,and all other cars are parked after these VIP's ..

now i have to use linked list for this system...

can anyone help me in writting my code for this project?

thanks!
First take a pin and a peace of paper, and make a mind-map
how would you do that in reality, if you were instead of the computer/program?
how would you arrange the cars, what would ask the owner/driver first ?
Just do a mind-map, later try to code your ideas , and than come here, post your ideas(solution and algoritm) and your code, we will help you!
Topic archived. No new replies allowed.