class chain

Tamamlanmış İlan edilme: Sep 8, 2003 Teslim sırasında ödenir
Tamamlanmış Teslim sırasında ödenir

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 << [url removed, login to view]() << 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

**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, 2000, ME, XP

C Programlama Mühendislik MySQL PHP Yazılım Mimarisi Yazılım Test Etme

Proje NO: #2971953

Proje hakkında

22 teklif Uzak proje Aktif Sep 9, 2003

Seçilen:

shahizanvw

See private message.

%selectedBids___i_period_sub_7% gün içinde 1%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(46 Değerlendirme)
4.6

Bu iş için 22 freelancer ortalamada $9 teklif veriyor

mihaiscortaru

See private message.

$12.74 USD in 3 gün içinde
(160 Değerlendirme)
6.0
sawamu

See private message.

$12.75 USD in 3 gün içinde
(215 Değerlendirme)
5.9
kandamunlabs

See private message.

$7.65 USD in 3 gün içinde
(22 Değerlendirme)
5.1
herculesevw

See private message.

$12.75 USD in 3 gün içinde
(79 Değerlendirme)
4.7
vw821235vw

See private message.

$12.75 USD in 3 gün içinde
(94 Değerlendirme)
4.3
teamvw

See private message.

$12.75 USD in 3 gün içinde
(36 Değerlendirme)
3.8
shashikhanvw

See private message.

$12.75 USD in 3 gün içinde
(15 Değerlendirme)
3.8
russellsmithvw

See private message.

$6.8 USD in 3 gün içinde
(23 Değerlendirme)
3.4
patrica

See private message.

$11.9 USD in 3 gün içinde
(19 Değerlendirme)
3.2
englishands

See private message.

$11.05 USD in 3 gün içinde
(4 Değerlendirme)
3.2
tekguyvw

See private message.

$11.05 USD in 3 gün içinde
(10 Değerlendirme)
2.5
godotvw

See private message.

$6.8 USD in 3 gün içinde
(3 Değerlendirme)
1.9
bwsolutionsvw

See private message.

$8.5 USD in 3 gün içinde
(3 Değerlendirme)
1.6
vw914040vw

See private message.

$6.8 USD in 3 gün içinde
(16 Değerlendirme)
1.6
tasmithvw

See private message.

$11.05 USD in 3 gün içinde
(3 Değerlendirme)
1.5
teampack

See private message.

$5.95 USD in 3 gün içinde
(2 Değerlendirme)
1.1
portocalavw

See private message.

$12.75 USD in 3 gün içinde
(1 Yorum)
0.0
amitvyasvw

See private message.

$6.8 USD in 3 gün içinde
(0 Değerlendirme)
0.0
petrusoroaga

See private message.

$4.25 USD in 3 gün içinde
(0 Değerlendirme)
0.0
aymanmgamal

See private message.

$4.25 USD in 3 gün içinde
(0 Değerlendirme)
0.0