Find Jobs
Hire Freelancers

c programming code

$10-30 CAD

Closed
Posted about 9 years ago

$10-30 CAD

Paid on delivery
You are to make a simulation of a printer queue. Print jobs will be submitted to the queue and then the printer will print those jobs. You can implement your queue using an array or a linked list. If you use a very efficient structure (either an array which uses an offset integer to avoid shifting elements, or a head- tail doubly-linked list), you will receive bonus marks. Your program will read in input from standard input. If a line begins with a + symbol, a new print job will be added to the queue. If a line begins with a - symbol, a job will be served from the queue. If a line doesn't begin with either, then your program will exit. Each job queue has a print job ID (an integer) as well as a number of pages (also an integer). Here is some example input: + 1 4 + 2 6 + 3 1 - + 4 5 - - - + 5 3 - done And here is the output your program would generate for that input: Printing job 1 (4 pages) (queue is not empty) Printing job 2 (6 pages) (queue is not empty) Printing job 3 (1 pages) (queue is not empty) Printing job 4 (5 pages) (queue is empty) Printing job 5 (3 pages) (queue is empty) You only produce output when a - symbol is seen and you're printing something. Each time you see a - symbol, you serve a job from the queue, display information about it, and display a message saying whether the queue is currently empty or not.
Project ID: 7393488

About the project

31 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
31 freelancers are bidding on average $22 CAD for this job
User Avatar
I am very proficient in java. I have 12 years java developing experience. I have worked for 5 years, my work is online game developing, and mainly focus on server side, the language is java under linux, I am proficint in c++ also. I used java to make many great projects. For example, I made the tools which can convert PWScript(a script language created by our company) to c++ files. I made our own mobile games, and i am mainly responsible for the server side, and it was built using java. I can even show you the mobile game client. Please let expert help you.
$50 CAD in 1 day
5.0 (45 reviews)
6.0
6.0
User Avatar
Hi, I have read the requirements and I would like to do this project if given the opportunity. I am a computer science practitioner and having the "C and Algorithms Certification Badge" in my profile gives me confidence and assurance that I can deliver you the project as required. Let me know if you are interested so I can start. Thanks.
$30 CAD in 1 day
4.9 (156 reviews)
5.7
5.7
User Avatar
Hi! I am ready to start work ASAP! Hope you will be satisfied! I am able provide solution with highest quality!!!
$30 CAD in 1 day
5.0 (33 reviews)
5.3
5.3
User Avatar
Hi! I can implement doubly linked list for this assignment. I can deliver you high quality code in due time.
$30 CAD in 1 day
5.0 (29 reviews)
4.7
4.7
User Avatar
hi, i can help. please reply. thanks .
$25 CAD in 1 day
5.0 (24 reviews)
4.3
4.3
User Avatar
Hi I am Dinh. I am senior in c and java. Hope to work with you. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
$25 CAD in 1 day
5.0 (14 reviews)
3.9
3.9
User Avatar
Hi. You task is already done. It was very easy. I used linked list for this task, so you will receive bonus marks.
$20 CAD in 1 day
5.0 (4 reviews)
3.3
3.3
User Avatar
I did an assignmnt of CPU task scheduling by using queue before, which is similar as this task, so I think I could help.
$25 CAD in 2 days
5.0 (6 reviews)
2.9
2.9
User Avatar
I am offering to do this job at the lowest price because it is a easy one and can be done very fast. Please consider my offer and u wont regret. I have large experience programming in C++ and designing data structures like queues. If u hire me i will get your work done in less that four hours.
$10 CAD in 1 day
5.0 (14 reviews)
2.7
2.7
User Avatar
A proposal has not yet been provided
$20 CAD in 1 day
5.0 (1 review)
2.6
2.6
User Avatar
sure we cam make a app in c# that will take input file and produce output file as required sure we cam make a app in c# that will take input file and produce output file as required sure we cam make a app in c# that will take input file and produce output file as required sure we cam make a app in c# that will take input file and produce output file as required sure we cam make a app in c# that will take input file and produce output file as required sure we cam make a app in c# that will take input file and produce output file as required sure we cam make a app in c# that will take input file and produce output file as required sure we cam make a app in c# that will take input file and produce output file as required
$30 CAD in 1 day
5.0 (2 reviews)
2.2
2.2
User Avatar
Hello. I can help you do this. Please contact me on chat so we can discuss further details Thank you!
$15 CAD in 1 day
4.9 (8 reviews)
2.3
2.3
User Avatar
Hi , this project is cake walk . I can complete the project and satisfy the requirement for getting bonus marks . I will not take more than 45 minutes . Message me and it will be done. I rank top 1% on coding websites like codeforces and topcoder with handle : shank_punk
$15 CAD in 1 day
5.0 (2 reviews)
1.7
1.7
User Avatar
HI We are 5 Computer Science studnets from the most reputed institute in india,IIT Bombay. We have done many courses on C, C++ and Algorithms, so it wont be tough and wont take much time. We request you to give us a chance :). We strictly follow deadlines
$20 CAD in 1 day
4.8 (3 reviews)
1.9
1.9
User Avatar
Hi! I can do this task with linked list .
$24 CAD in 3 days
5.0 (1 review)
0.6
0.6
User Avatar
Предложение еще не подано
$35 CAD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$15 CAD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I am a C / C++ programmer. I am good at Data Structures. I can implement it using DLL or array if you want. I am available so contact me anytime.................. Thanks.
$30 CAD in 1 day
5.0 (1 review)
0.2
0.2
User Avatar
A proposal has not yet been provided
$35 CAD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello, I already implemented a queue, And can do this job well, if you interest please contact me, thank you
$25 CAD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CANADA
Canada
0.0
0
Member since Mar 29, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.