Find Jobs
Hire Freelancers

c programming code

$10-30 CAD

Fechado
Publicado há aproximadamente 9 anos

$10-30 CAD

Pago na 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 do Projeto: 7336377

Sobre o projeto

34 propostas
Projeto remoto
Ativo há 9 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
34 freelancers estão ofertando em média $24 CAD for esse trabalho
Avatar do Usuário
A proposal has not yet been provided
$25 CAD em 1 dia
4,9 (824 avaliações)
7,1
7,1
Avatar do Usuário
Hi, I am placing my bid on your project because I have read the requirements and I am confident enough with my C and algorithm skills. I am focused mostly on doing computer science work here in freelancer.com and I would like to help you get this project done if you would give me the opportunity. I am a computer science professor and practitioner and this assignment is one of the fields that I teach very well so I can assure you an accurate result. Let me know if you are interested so I can start. Thanks.
$30 CAD em 0 dia
4,9 (481 avaliações)
6,9
6,9
Avatar do Usuário
I am very proficient in c, c++. I have 15 years c++ developing experience now, and I have worked for 5 years. My work is online game developing, and mainly focus on server side, the language is c++ under linux. I used c++ to make many great projects, for example, I made the tools which can convert java files to c++ scripts which has the same effect, of course garbage collection included. I also made our own mobile game using c++, I even can show you the demo of client. Trust me, please let expert help you.
$50 CAD em 1 dia
4,9 (95 avaliações)
6,7
6,7
Avatar do Usuário
Hello I am C expert and interested in this project. I have reviewed your requirements and confident to handle this project perfectly. I will produce correct output format. Please communicate to discuss further. Regards Anshu
$30 CAD em 1 dia
4,7 (83 avaliações)
6,0
6,0
Avatar do Usuário
hi, i have 7 years c/c++/java programming experience under windows, linux system,i can do the job well
$30 CAD em 1 dia
4,8 (28 avaliações)
4,5
4,5
Avatar do Usuário
Hello, I can give you an exact solution which will earn you 100% credits. Feel free to contact me for further discussion
$30 CAD em 1 dia
5,0 (20 avaliações)
4,2
4,2
Avatar do Usuário
Hi I am an expert C programmer and have lot of experience experience programming university solutions. I can do this project for you. PM me if interested
$30 CAD em 1 dia
4,9 (12 avaliações)
4,4
4,4
Avatar do Usuário
I am interesting on doing this project. I can provide clean and well commented code and also make it look simple and not to elaborated. Please open chat for details
$15 CAD em 1 dia
5,0 (21 avaliações)
4,1
4,1
Avatar do Usuário
hi I'm experienced c/c++ developer working currently in nokia. i done many students projects so far i provide well commented code
$20 CAD em 1 dia
4,9 (11 avaliações)
3,9
3,9
Avatar do Usuário
I have done two similar projects recenty which are about CPU task queue, so I could help.
$30 CAD em 1 dia
4,6 (11 avaliações)
3,2
3,2
Avatar do Usuário
I have c++ experience of 5 years, this is a 10 minute task for me. I will use linked lists and make it efficient.
$25 CAD em 1 dia
5,0 (2 avaliações)
1,8
1,8
Avatar do Usuário
Sir, I can do this very easily.I have experience in C/C++.You can check my portfolio by visiting my profile.I have done such projects and I will completely will well commented code do this job, so you have a total understanding. Best Regard.
$20 CAD em 3 dias
3,8 (3 avaliações)
1,7
1,7
Avatar do Usuário
I teach C programming. I can easily do this using a linked list with page and a status flag. The flag is just set/unset when jobs are printed or added. This flag will be the basis on the state of the display.
$10 CAD em 1 dia
5,0 (1 avaliação)
1,2
1,2
Avatar do Usuário
Hello, I am a Computer Engineering student and I have experience with C programming. I can solve this problem easily and explain it to you how it works. Let me know if you have any questions. Thank You, Alex
$20 CAD em 1 dia
5,0 (1 avaliação)
0,9
0,9
Avatar do Usuário
A passionate programmer and student. I will work out your code right now. Please hire me for the best customer experience.
$25 CAD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
I already done stuffs like these for shops :D,but it was a bit harder then I needed to make designs etc. This is simple :)
$15 CAD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
A proposal has not yet been provided
$35 CAD em 2 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
i can make this work. i do job cheap as student need money...............................................................................................................................
$25 CAD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
Hi, I'm a third year computer science student and I work as a software developer. I've got a lot of experience with C and this kind of problems, so I could easily help you, if you'd like. Lucia
$20 CAD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
I have experience of three years in languages and have very strong skills in C and C++. Hire me if you want a efficient and good solutions :)
$25 CAD em 1 dia
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) CANADA
Canada
0,0
0
Membro desde fev. 23, 2015

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos 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)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.