Find Jobs
Hire Freelancers

a simple class called chain

$30-70 USD

クローズ
投稿日: 20年以上前

$30-70 USD

完了時にお支払い
Create and test a class called **chain**. A chain is just a series of integers, e.g. [2 7 -1 43] is a chain containing four integers. Please note that chains are similar in many respects to vectors of integers. The purpose of this assignment is to have you create a vector-like class from scratch, however, so you may not use vector, list or other classes from the STL here. In fact, unless you get permission from me, don't include any libraries except iostream and cstdlib. Pay special attention to Weiss's "big three," the destructor, copy constructor and assignment operator. When your class is complete, the following code should work, with results as commented: chain a, b, c; // Three empty chains are created cout << [login to view URL]() << endl; // yields 0 cin >> a; // User types [2 3 7] cout << a; // Output is [2 3 7] cin >> b; // User type [8 4 2 1] cout << a+b << endl; // Output is [2 3 7 8 4 2 1] cout << a+5 << endl; //Output is [2 3 7 5] a+=6; // a is now [2 3 7 6] chain c(3*a); // c is initialized to // [2 3 7 6 2 3 7 6 2 3 7 6] ## 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) Complete ownership and distribution copyrights to all work purchased. It would be great if you also use Microsoft Visual Studio 6.0 1. Programs must be written C++. 2. Follow the programming style illustrated in the text. In particular: 1. Divide your program into header (.h) files giving interface information and implementation (.cpp) files showing details. 2. Comment your code thoroughly. 3. Indent and use blank lines to emphasize structure and enhance readability. 3. Programs will be evaluated on validity, efficiency, modularity, clarity and also on the quality of the external interface--ease of use, output formatting, etc. 4. Program submissions must be made in laser-quality format. In each case, submit the following, in this order: 1. A cover sheet with your name and a brief, typed summary of results. 2. Commented sample runs. 3. Source code: main program, followed by header files, followed by implementation files. Be sure file names are noted at the top of each page. ## Platform windows 95, 98, ME, 2000, XP
プロジェクト ID: 2970690

プロジェクトについて

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

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
この仕事に43人のフリーランサーが、平均$32 USDで入札しています
ユーザーアバター
See private message.
$11.90 USD 10日以内
5.0 (24 レビュー)
6.5
6.5
ユーザーアバター
See private message.
$34 USD 10日以内
5.0 (84 レビュー)
6.3
6.3
ユーザーアバター
See private message.
$42.49 USD 10日以内
5.0 (160 レビュー)
6.0
6.0
ユーザーアバター
See private message.
$41.65 USD 10日以内
4.9 (174 レビュー)
5.9
5.9
ユーザーアバター
See private message.
$25.50 USD 10日以内
5.0 (39 レビュー)
5.0
5.0
ユーザーアバター
See private message.
$39.10 USD 10日以内
4.9 (79 レビュー)
4.7
4.7
ユーザーアバター
See private message.
$3.40 USD 10日以内
5.0 (46 レビュー)
4.6
4.6
ユーザーアバター
See private message.
$25.50 USD 10日以内
5.0 (47 レビュー)
4.5
4.5
ユーザーアバター
See private message.
$34 USD 10日以内
4.9 (94 レビュー)
4.3
4.3
ユーザーアバター
See private message.
$25.50 USD 10日以内
3.4 (24 レビュー)
4.6
4.6
ユーザーアバター
See private message.
$59.50 USD 10日以内
5.0 (18 レビュー)
4.2
4.2
ユーザーアバター
See private message.
$42.50 USD 10日以内
5.0 (16 レビュー)
4.1
4.1
ユーザーアバター
See private message.
$51 USD 10日以内
5.0 (9 レビュー)
4.1
4.1
ユーザーアバター
See private message.
$34 USD 10日以内
4.9 (36 レビュー)
3.8
3.8
ユーザーアバター
See private message.
$51 USD 10日以内
4.7 (15 レビュー)
3.8
3.8
ユーザーアバター
See private message.
$25.50 USD 10日以内
4.9 (10 レビュー)
3.4
3.4
ユーザーアバター
See private message.
$25.50 USD 10日以内
5.0 (23 レビュー)
3.4
3.4
ユーザーアバター
See private message.
$17 USD 10日以内
4.9 (17 レビュー)
3.3
3.3
ユーザーアバター
See private message.
$42.50 USD 10日以内
4.9 (5 レビュー)
3.2
3.2
ユーザーアバター
See private message.
$59.50 USD 10日以内
5.0 (5 レビュー)
3.0
3.0

クライアントについて

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