Find Jobs
Hire Freelancers

C++ Help

$30-5000 USD

Terminado
Publicado hace alrededor de 20 años

$30-5000 USD

Pagado a la entrega
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. **_METHODS: _**- A default constructor that will allocate memory and assume a size of 10 for the number of elements in the container. - A one-argument constructor that will allocate memory and allow the user to override the default size of the container. - A copy constructor that will perform a deep copy of the container object. - A destructor that will delete 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 either the insertion sort or bubble sort technique. **_DATA: _**- Pointer to generic data type - Integer value representing the size of the container ## 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. **_METHODS: _**- A default constructor that will allocate memory and assume a size of 10 for the number of elements in the container. - A one-argument constructor that will allocate memory and allow the user to override the default size of the container. - A copy constructor that will perform a deep copy of the container object. - A destructor that will delete 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 either the insertion 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 into 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 or 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. 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 Windows XP Microsoft Visual C++ 6.0
ID del proyecto: 3198984

Información sobre el proyecto

4 propuestas
Proyecto remoto
Activo hace 20 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
See private message.
$7 USD en 2 días
5,0 (1 comentario)
0,0
0,0
4 freelancers están ofertando un promedio de $42 USD por este trabajo
Avatar del usuario
See private message.
$102 USD en 2 días
4,9 (62 comentarios)
5,4
5,4
Avatar del usuario
See private message.
$17 USD en 2 días
5,0 (51 comentarios)
5,3
5,3
Avatar del usuario
See private message.
$42,50 USD en 2 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
United States
5,0
11
Miembro desde may 3, 2004

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.