Find Jobs
Hire Freelancers

c programming code

$10-30 CAD

Cerrado
Publicado hace alrededor de 9 años

$10-30 CAD

Pagado a la entrega
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 del proyecto: 7393488

Información sobre el proyecto

31 propuestas
Proyecto remoto
Activo hace 9 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
31 freelancers están ofertando un promedio de $22 CAD por este trabajo
Avatar del usuario
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 en 1 día
5,0 (45 comentarios)
6,0
6,0
Avatar del usuario
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 en 1 día
4,9 (156 comentarios)
5,7
5,7
Avatar del usuario
Hi! I am ready to start work ASAP! Hope you will be satisfied! I am able provide solution with highest quality!!!
$30 CAD en 1 día
5,0 (33 comentarios)
5,3
5,3
Avatar del usuario
Hi! I can implement doubly linked list for this assignment. I can deliver you high quality code in due time.
$30 CAD en 1 día
5,0 (29 comentarios)
4,7
4,7
Avatar del usuario
hi, i can help. please reply. thanks .
$25 CAD en 1 día
5,0 (24 comentarios)
4,3
4,3
Avatar del usuario
Hi I am Dinh. I am senior in c and java. Hope to work with you. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
$25 CAD en 1 día
5,0 (14 comentarios)
3,9
3,9
Avatar del usuario
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 en 1 día
5,0 (4 comentarios)
3,3
3,3
Avatar del usuario
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 en 2 días
5,0 (6 comentarios)
2,9
2,9
Avatar del usuario
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 en 1 día
5,0 (14 comentarios)
2,7
2,7
Avatar del usuario
A proposal has not yet been provided
$20 CAD en 1 día
5,0 (1 comentario)
2,6
2,6
Avatar del usuario
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 en 1 día
5,0 (2 comentarios)
2,2
2,2
Avatar del usuario
Hello. I can help you do this. Please contact me on chat so we can discuss further details Thank you!
$15 CAD en 1 día
4,9 (8 comentarios)
2,3
2,3
Avatar del usuario
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 en 1 día
5,0 (2 comentarios)
1,7
1,7
Avatar del usuario
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 en 1 día
4,8 (3 comentarios)
1,9
1,9
Avatar del usuario
Hi! I can do this task with linked list .
$24 CAD en 3 días
5,0 (1 comentario)
0,6
0,6
Avatar del usuario
Предложение еще не подано
$35 CAD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
A proposal has not yet been provided
$15 CAD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
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 en 1 día
5,0 (1 comentario)
0,2
0,2
Avatar del usuario
A proposal has not yet been provided
$35 CAD en 2 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hello, I already implemented a queue, And can do this job well, if you interest please contact me, thank you
$25 CAD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de CANADA
Canada
0,0
0
Miembro desde mar 29, 2015

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.