Click here to Skip to main content
15,921,210 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
i need a program code c++ that handles 2 queus in it about truck arriving in 2 lines urgent line and regular one
the urgent line can handle up to6 trucks and the regular can handle 15
but the deal is when the urgent line is full i need to redirect the truck that is urgent to the regular line.
also i need to view information about the trucks in the urgent line as well as in the refular line
plus to view information of a certain truck with its position
the information maybe license plate, net weight, gross weight , state if urgent or not
thank u so :)
Posted
Updated 11-Feb-10 12:21pm
v2

start with

Console.WriteLine("Hello World");
 
Share this answer
 
noor_ali wrote:
i need a program

Then I suggest you start coding.
 
Share this answer
 
This sounds to me like a really important, real world problem to solve. Actually, it doesn't. It sounds like homework. The reason your teacher gave you this task, is so that you would learn. Assuming someone was dumb enough to write this for you, it would not help you. It would stop you learning the things you need to know for your next assignment. If you feel lost, you should talk to your teacher and ask if you need some more help, or if you need to drop out of this course now and stop wasting your time and theirs.

You should also expect that your teacher is smarter than you. Certainly smart enough to google the wording of their question to find people who cheat. If noor_ali is your real name, you should go and talk to your teacher, before they talk to you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900