Find Jobs
Hire Freelancers

c programming code

$10-30 CAD

Lukket
Slået op cirka 9 år siden

$10-30 CAD

Betales ved levering
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.
Projekt-ID: 7336377

Om projektet

34 forslag
Projekt på afstand
Aktiv 9 år siden

Leder du efter muligheder for at tjene penge?

Fordele ved budafgivning på Freelancer

Fastsæt dit budget og din tidsramme
Bliv betalt for dit arbejde
Oprids dit forslag
Det er gratis at skrive sig op og byde på jobs
34 freelancere byder i gennemsnit $24 CAD på dette job
Brug Avatar.
A proposal has not yet been provided
$25 CAD på 1 dag
4,9 (824 anmeldelser)
7,1
7,1
Brug Avatar.
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 på 0 dag
4,9 (481 anmeldelser)
6,9
6,9
Brug Avatar.
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 på 1 dag
4,9 (95 anmeldelser)
6,7
6,7
Brug Avatar.
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 på 1 dag
4,7 (83 anmeldelser)
6,0
6,0
Brug Avatar.
hi, i have 7 years c/c++/java programming experience under windows, linux system,i can do the job well
$30 CAD på 1 dag
4,8 (28 anmeldelser)
4,5
4,5
Brug Avatar.
Hello, I can give you an exact solution which will earn you 100% credits. Feel free to contact me for further discussion
$30 CAD på 1 dag
5,0 (20 anmeldelser)
4,2
4,2
Brug Avatar.
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 på 1 dag
4,9 (12 anmeldelser)
4,4
4,4
Brug Avatar.
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 på 1 dag
5,0 (21 anmeldelser)
4,1
4,1
Brug Avatar.
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 på 1 dag
4,9 (11 anmeldelser)
3,9
3,9
Brug Avatar.
I have done two similar projects recenty which are about CPU task queue, so I could help.
$30 CAD på 1 dag
4,6 (11 anmeldelser)
3,2
3,2
Brug Avatar.
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 på 1 dag
5,0 (2 anmeldelser)
1,8
1,8
Brug Avatar.
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 på 3 dage
3,8 (3 anmeldelser)
1,7
1,7
Brug Avatar.
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 på 1 dag
5,0 (1 bedømmelse)
1,2
1,2
Brug Avatar.
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 på 1 dag
5,0 (1 bedømmelse)
0,9
0,9
Brug Avatar.
A passionate programmer and student. I will work out your code right now. Please hire me for the best customer experience.
$25 CAD på 1 dag
0,0 (0 anmeldelser)
0,0
0,0
Brug Avatar.
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 på 1 dag
0,0 (0 anmeldelser)
0,0
0,0
Brug Avatar.
A proposal has not yet been provided
$35 CAD på 2 dage
0,0 (0 anmeldelser)
0,0
0,0
Brug Avatar.
i can make this work. i do job cheap as student need money...............................................................................................................................
$25 CAD på 1 dag
0,0 (0 anmeldelser)
0,0
0,0
Brug Avatar.
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 på 1 dag
0,0 (0 anmeldelser)
0,0
0,0
Brug Avatar.
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 på 1 dag
0,0 (0 anmeldelser)
0,0
0,0

Om klienten

Flag for CANADA
Canada
0,0
0
Medlem siden feb. 23, 2015

Klientverificering

Tak! Vi har sendt dig en e-mail med et link, så du kan modtage din kredit.
Noget gik galt, da vi forsøgte at sende din mail. Prøv venligst igen.
Registrerede brugere Oprettede jobs i alt
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Indlæser forhåndsvisning
Geolokalisering er tilladt.
Din session er udløbet, og du er blevet logget ud. Log venligst ind igen.