Find Jobs
Hire Freelancers

Abstract Data Type project

$30-50 USD

完了済み
投稿日: 約20年前

$30-50 USD

完了時にお支払い
For this project you will create a C++ class for the following Abstract Data Type (ADT): ADT: StringList Possible values: Each StringList can store a (possibly empty) list of variable length strings. E.g.: StringList L1 = { "baker", "able", "charlie", "delta" }, StringList L2 = {}, StringList L3 = { "red", "green", "blue" } Operations: (let L1 be a StringList) 1. [login to view URL]() - returns the number of strings on L1. 2. [login to view URL]() - returns the sum of the lengths of all the elements of L1. 3. [login to view URL]( string s1 ) - adds s1 to L1 as its last element. If s1 is already in L1, throw( "Duplicate String" ); 4. [login to view URL]( string s1, int pos ) - adds s1 to L1 as its "pos" element. "pos" is 0-based. If s1 is already in L1, throw( "Duplicate String" ); If pos < 0 or pos > askSize() throw( "Position Out of Range" ); 5. [login to view URL]( string s1 ) - adds s1 to L1 as its first element (i.e., pos == 0) If s1 is already in L1, throw( "Duplicate String" ); 6. [login to view URL]( string s1 ) - remove s1 from L1. If s1 is not found, throw( "String Not Found" ); 7. [login to view URL]( int pos ) - remove "pos" element from L1. If pos is not present, throw( "Position Out of Range" ); 8. [login to view URL]( string s1 ) - return the "pos" of string s1 in L1. (Again, 0-based) If s1 is not in L1, throw( "String Not Found" ); 9. [login to view URL]() - sorts the elements of L1 alphabetically. 10. [login to view URL]() - prints the elements of L1 to the screen. Formatted as: able, baker, charlie, delta 11. L1 + L2 - returns a new list which is the union of L1 and L2. L1 and L2 are not modified. 12. L1 - L2 - returns a new list with all occurrences of any string in L2 removed from L1. L1 and L2 are not modified. 13. L1 == L2 - returns true if L1 and L2 contain exactly the same strings, false otherwise. 14. L1 != L2 - returns true if (L1 == L2) is false, true otherwise. I will be writing a main() to utilize your class StringList. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) 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 "Windows XP", "LINUX" (i will compiling in linux using g++)
プロジェクト ID: 3110293

プロジェクトについて

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

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
See private message.
$7 USD 10日以内
5.0 (21 レビュー)
3.5
3.5
この仕事に41人のフリーランサーが、平均$23 USDで入札しています
ユーザーアバター
See private message.
$21.25 USD 10日以内
5.0 (87 レビュー)
6.5
6.5
ユーザーアバター
See private message.
$21.25 USD 10日以内
5.0 (131 レビュー)
6.2
6.2
ユーザーアバター
See private message.
$21.25 USD 10日以内
5.0 (55 レビュー)
5.8
5.8
ユーザーアバター
See private message.
$25.50 USD 10日以内
4.9 (208 レビュー)
5.8
5.8
ユーザーアバター
See private message.
$8.50 USD 10日以内
5.0 (101 レビュー)
5.7
5.7
ユーザーアバター
See private message.
$34 USD 10日以内
4.9 (60 レビュー)
5.4
5.4
ユーザーアバター
See private message.
$21.25 USD 10日以内
5.0 (64 レビュー)
5.2
5.2
ユーザーアバター
See private message.
$21.25 USD 10日以内
5.0 (219 レビュー)
5.2
5.2
ユーザーアバター
See private message.
$34 USD 10日以内
4.3 (25 レビュー)
5.3
5.3
ユーザーアバター
See private message.
$25.50 USD 10日以内
5.0 (35 レビュー)
5.1
5.1
ユーザーアバター
See private message.
$14.45 USD 10日以内
5.0 (58 レビュー)
5.0
5.0
ユーザーアバター
See private message.
$21.25 USD 10日以内
5.0 (35 レビュー)
4.9
4.9
ユーザーアバター
See private message.
$21.25 USD 10日以内
5.0 (51 レビュー)
4.9
4.9
ユーザーアバター
See private message.
$34 USD 10日以内
4.7 (40 レビュー)
4.7
4.7
ユーザーアバター
See private message.
$25.50 USD 10日以内
5.0 (126 レビュー)
4.7
4.7
ユーザーアバター
See private message.
$42.50 USD 10日以内
5.0 (44 レビュー)
4.5
4.5
ユーザーアバター
See private message.
$8.50 USD 10日以内
5.0 (23 レビュー)
4.4
4.4
ユーザーアバター
See private message.
$19.55 USD 10日以内
5.0 (22 レビュー)
4.3
4.3
ユーザーアバター
See private message.
$25.50 USD 10日以内
5.0 (6 レビュー)
4.1
4.1
ユーザーアバター
See private message.
$34 USD 10日以内
4.0 (19 レビュー)
4.3
4.3

クライアントについて

UNITED STATESのフラグ
United States
4.8
7
メンバー登録日:2月 24, 2004

クライアント確認

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