Hello
I want to implement a pr. queue with structs.
My struct is:

struct Call
{
int CallNum;
long CallTime;
int CallLength;
};

This is a call center simulation application (of course if i can).
According to algorithm, the agents should choose the call whose CallLength is shorter.
I push my data into the queue like this:

Call client[i];
client[i].CallNum = a;
client[i].CallLength = b;
client[i].CallTime = c;
mypq.push(client[i]);

Can anyone help me please? This is my last day to due. Thanks a lot

heeeellooooooooooooo:)

commented: Bumping is incredibly rude. -4

It's a weekend. Folks are out doing other stuff, like taking in movies, going to concerts, out to dinner, playing with kids... Be patient. If this project is due Monday, you may have to resort to your own abilities... :rolleyes: