Find Jobs
Hire Freelancers

c programming code

$10-30 CAD

已关闭
已发布大约 9 年前

$10-30 CAD

货到付款
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.
项目 ID: 7393488

关于此项目

31提案
远程项目
活跃9 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
31威客以平均价$22 CAD来参与此工作竞价
用户头像
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 在1天之内
5.0 (45条评论)
6.0
6.0
用户头像
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 在1天之内
4.9 (156条评论)
5.7
5.7
用户头像
Hi! I am ready to start work ASAP! Hope you will be satisfied! I am able provide solution with highest quality!!!
$30 CAD 在1天之内
5.0 (33条评论)
5.3
5.3
用户头像
Hi! I can implement doubly linked list for this assignment. I can deliver you high quality code in due time.
$30 CAD 在1天之内
5.0 (29条评论)
4.7
4.7
用户头像
hi, i can help. please reply. thanks .
$25 CAD 在1天之内
5.0 (24条评论)
4.3
4.3
用户头像
Hi I am Dinh. I am senior in c and java. Hope to work with you. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
$25 CAD 在1天之内
5.0 (14条评论)
3.9
3.9
用户头像
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 在1天之内
5.0 (4条评论)
3.3
3.3
用户头像
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 在2天之内
5.0 (6条评论)
2.9
2.9
用户头像
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 在1天之内
5.0 (14条评论)
2.7
2.7
用户头像
A proposal has not yet been provided
$20 CAD 在1天之内
5.0 (1条评论)
2.6
2.6
用户头像
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 在1天之内
5.0 (2条评论)
2.2
2.2
用户头像
Hello. I can help you do this. Please contact me on chat so we can discuss further details Thank you!
$15 CAD 在1天之内
4.9 (8条评论)
2.3
2.3
用户头像
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 在1天之内
5.0 (2条评论)
1.7
1.7
用户头像
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 在1天之内
4.8 (3条评论)
1.9
1.9
用户头像
Hi! I can do this task with linked list .
$24 CAD 在3天之内
5.0 (1条评论)
0.6
0.6
用户头像
Предложение еще не подано
$35 CAD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
A proposal has not yet been provided
$15 CAD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
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 在1天之内
5.0 (1条评论)
0.2
0.2
用户头像
A proposal has not yet been provided
$35 CAD 在2天之内
0.0 (0条评论)
0.0
0.0
用户头像
Hello, I already implemented a queue, And can do this job well, if you interest please contact me, thank you
$25 CAD 在1天之内
0.0 (0条评论)
0.0
0.0

关于客户

CANADA的国旗
Canada
0.0
0
会员自3月 29, 2015起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。