Em Andamento

Help with my C++ homework! Template Objects

Design and code a template container object, and execute tests of this object as it contains different data types. The template object will model a data structure or container, an array is the most likely choice. The implementation of the array in the template will use dynamic allocation of memory with the new and delete operators.

## Deliverables

Design and code a template container object, and execute tests of this object as it contains different data types. The template object will model a data structure or container, an array is the most likely choice. The implementation of the array in the template will use dynamic allocation of memory with the new and delete operators. The template will have the following methods and members.

**Note: The class interface will be in a header file, the class implementation and the code for the main program will be in two seperate .cpp files. These files will be linked together as on executable file and then run by the CPU.

I MUST BE GIVEN ALL SOURCE FILES.

I MUST BE GIVEN ALL OUTPUT FILES.**

_**METHODS:**

_A default constructor that will allocate memory and assume a size of 10 for the no elements in the container

A one-argument ctor that will allocate memory and allow the user to overridie the default size of the container

A copy ctor that will perform a deep copy of the container object

A destructor that will delet the dynamic memory used for the container

Overloaded **operator =** that will also perform a deep copy of the template container

Overloaded **operator []** that will access individual elements of the container

A generic method that will sort the elements in the container, using inerstion sort or bubble sort technique

_**DATA:

**_pointer to generic data type

integer value representing the size of the container

**_PROGRAM:

_**Declare a template container of data type int (built in), and read data into array.

Sort int data in template using the generic sort method, and display the results

Declare a template container of data type string objects (from C++ Standard Library), and read data intor array.

Sort string data in template using the generic sort method, and display the results

Declare a template container of data type fraction objects (user-defined), and read data into array.

Sort fraction data in template using the generic sort method, and display the results.

**_NOTES:

_**The simpler the template container class is, the better it will work as a generic container object. DO not add any other methods of members to the template, except perhaps for private utility functions used by the generic sort method.

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).

## Platform

Windows 98, 2000, XP

Microsoft Visual C++

Habilidades: .NET, ASP, Montagem, Programação C, Programação C#, Cocoa, Engenharia, Java, MySQL, PHP, Arquitetura de software, Teste de Software, Visual Basic

Ver mais: types of data structure, types of array in data structure, types data structure, type of data structure in c, the standard template library, template source file, template library, template in cpp, template .cpp, template cpp, template container, string standard functions in c, string library in c, string library c, string in data structure, string in cpp, string functions in cpp, string data structure, string cpp, standard will template, standard template library in c, standard template library c, standard library string functions in c, standard library c, standard c types

Acerca do Empregador:
( 3 comentários ) United States

ID do Projeto: #3029625

Premiar a:

gworroll

See private message.

$17 USD em 2 dias
(42 Avaliações)
3.7

27 freelancers estão ofertando em média $28 para este trabalho

paveltisunov

See private message.

$21.25 USD in 2 dias
(84 Comentários)
6.8
leonidm

See private message.

$51 USD in 2 dias
(86 Comentários)
5.8
vadymvw

See private message.

$42.5 USD in 2 dias
(20 Comentários)
5.4
Gr8Coders

See private message.

$14.45 USD in 2 dias
(51 Comentários)
4.9
shahizanvw

See private message.

$17 USD in 2 dias
(46 Comentários)
4.6
johngull

See private message.

$25.5 USD in 2 dias
(11 Comentários)
4.2
exceptionalcoder

See private message.

$40.38 USD in 2 dias
(9 Comentários)
4.1
zumbul

See private message.

$34 USD in 2 dias
(22 Comentários)
4.0
bullsora

See private message.

$25.5 USD in 2 dias
(25 Comentários)
4.0
obisoft

See private message.

$17 USD in 2 dias
(6 Comentários)
3.7
vertervw

See private message.

$6.8 USD in 2 dias
(10 Comentários)
3.7
karsazsoft

See private message.

$25.5 USD in 2 dias
(15 Comentários)
3.1
malis

See private message.

$25.5 USD in 2 dias
(6 Comentários)
2.8
ussrvw

See private message.

$21.25 USD in 2 dias
(14 Comentários)
2.2
kartanvw

See private message.

$17 USD in 2 dias
(5 Comentários)
1.8
blacksmithstd

See private message.

$4.25 USD in 2 dias
(1 Comentário)
0.6
vs1984

See private message.

$6.8 USD in 2 dias
(5 Comentários)
0.4
coderinsidevw

See private message.

$21.25 USD in 2 dias
(1 Comentário)
0.5
bhavin7sl

See private message.

$25.5 USD in 2 dias
(2 Comentários)
0.0
petercheng

See private message.

$10.2 USD in 2 dias
(0 Comentários)
0.0