Find Jobs
Hire Freelancers

C++ homework: Parse datafile(html), store in struct, write to binary file

$20-25 USD

キャンセル
投稿日: 約19年前

$20-25 USD

完了時にお支払い
I need this done before 48 hours! Please tell me how long this will take you. The previous programmer got in an accident and couldnt complete. Please see the attachment for the rest of the details. I would prefer C++, this is the first proj for a Database B-Tree Implemention (indexing, branching, etc). Someone with knowledge of that and who can complete other upcoming/sequential projects would be helpful. I will provide the datafile, so you will not have to worry about the first step Specification 1. Your code should read in the input data, which as you will see has variable length fields. 2. Your code should extract each field individually and write it to the screen, and to disk. 3. The fields written should be fixed length fields. Thus it may be necessary to truncate some fields. 4. The primary key is the NID ID. We will assume there are no duplicates. 5. At the same time you should construct a data record (structure) consisting of fixed length fields. 6. The record should be written to a file - datafile.txt. 7. The records should be written one record at a time (not field by field). 8. You should use C++ type output you would do something like the following. There are probably many solutions, but this is one that appears to work: [login to view URL]((char*) &MyDataRecord, sizeof(MyDataRecord)); 9. The required format for output to the screen is 10. Sequence number (RRN) 11. Primary key 12. All other fields in the record in the same order as in the data file # The output for one record should fit on one line. Fields should be separated by '|' character. # The format for the output file should be similar, but omit the RRN and '|'. # Note that in some cases the "Clan" field is omitted. This should be detected and a blank Clan provided. # Your executable file should be named showdata. # There should be no restriction on the number of records processed. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Linux, G++!
プロジェクト ID: 3630498

プロジェクトについて

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

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
この仕事に3人のフリーランサーが、平均$18 USDで入札しています
ユーザーアバター
See private message.
$20.40 USD 1日以内
5.0 (8 レビュー)
3.6
3.6
ユーザーアバター
See private message.
$11.90 USD 1日以内
5.0 (6 レビュー)
2.8
2.8
ユーザーアバター
See private message.
$21.25 USD 1日以内
0.0 (1 レビュー)
0.0
0.0

クライアントについて

UNITED STATESのフラグ
United States
4.9
159
メンバー登録日:7月 18, 2003

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。