cout<<"how many slots  are there?: "<<endl;
cin>>s ;
cout<<"Please enter\t" <<n<<" " "size of each slot"<<endl;
j=k;
for(int counter1=0; counter1<krfd; counter1++)
{
cin>>job_size[k];



}

Whats the question??? You should explain what you are trying to do and what you want to do...

Iamhere: This is your first official warning. Don't post multiple threads with the same question. If you keep doing it, I'll be forced to take disciplinary action. If you find you forgot to add something to your post, you can edit it. Also, please use code tags when posting any amount of source code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.