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: 7336377

プロジェクトについて

34個の提案
リモートプロジェクト
アクティブ 9年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
この仕事に34人のフリーランサーが、平均$24 CADで入札しています
ユーザーアバター
A proposal has not yet been provided
$25 CAD 1日以内
4.9 (824 レビュー)
7.1
7.1
ユーザーアバター
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 0日以内
4.9 (481 レビュー)
6.9
6.9
ユーザーアバター
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 1日以内
4.9 (95 レビュー)
6.7
6.7
ユーザーアバター
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 1日以内
4.7 (83 レビュー)
6.0
6.0
ユーザーアバター
hi, i have 7 years c/c++/java programming experience under windows, linux system,i can do the job well
$30 CAD 1日以内
4.8 (28 レビュー)
4.5
4.5
ユーザーアバター
Hello, I can give you an exact solution which will earn you 100% credits. Feel free to contact me for further discussion
$30 CAD 1日以内
5.0 (20 レビュー)
4.2
4.2
ユーザーアバター
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 1日以内
4.9 (12 レビュー)
4.4
4.4
ユーザーアバター
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 1日以内
5.0 (21 レビュー)
4.1
4.1
ユーザーアバター
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 1日以内
4.9 (11 レビュー)
3.9
3.9
ユーザーアバター
I have done two similar projects recenty which are about CPU task queue, so I could help.
$30 CAD 1日以内
4.6 (11 レビュー)
3.2
3.2
ユーザーアバター
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 1日以内
5.0 (2 レビュー)
1.8
1.8
ユーザーアバター
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 3日以内
3.8 (3 レビュー)
1.7
1.7
ユーザーアバター
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 1日以内
5.0 (1 レビュー)
1.2
1.2
ユーザーアバター
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 1日以内
5.0 (1 レビュー)
0.9
0.9
ユーザーアバター
A passionate programmer and student. I will work out your code right now. Please hire me for the best customer experience.
$25 CAD 1日以内
0.0 (0 レビュー)
0.0
0.0
ユーザーアバター
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 1日以内
0.0 (0 レビュー)
0.0
0.0
ユーザーアバター
A proposal has not yet been provided
$35 CAD 2日以内
0.0 (0 レビュー)
0.0
0.0
ユーザーアバター
i can make this work. i do job cheap as student need money...............................................................................................................................
$25 CAD 1日以内
0.0 (0 レビュー)
0.0
0.0
ユーザーアバター
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 1日以内
0.0 (0 レビュー)
0.0
0.0
ユーザーアバター
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 1日以内
0.0 (0 レビュー)
0.0
0.0

クライアントについて

CANADAのフラグ
Canada
0.0
0
メンバー登録日:2月 23, 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)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。