Find Jobs
Hire Freelancers

Write some Software

$10-30 USD

Cerrado
Publicado hace más de 8 años

$10-30 USD

Pagado a la entrega
Continue the Lab 5 (Hash Map). The instructor and GA will help you. The following is Lab 5. -------- Today’s goal is to implement a Hash Map in C/C++. Write the functions “add(…)”, “getvalues(…)”, and “deallocate(…)”, which add a new data to the hash map, return a value of a key, and de-allocate all memory space of the hash map, respectively. You can decide the parameter lists of the functions. We are supposed to handle student data, which has CWID (8 digits), name, contact number, and major. An example code of the student structure is: struct Node { unsigned int CWID; // you can use a string type for CWID too. string Name; string ContactNumber; string Major; struct Node *pNext; }; For getvalues(…) function, you can subdivide the function into smaller, e.g., getName(key), getContactNumber(key), and getMajor(key), since there are multiple values of the key. Or, getvalues(…) may return a student structure. It’s up to you. You may want to use a class (encouraged but not required). You can use any constant parameters for Hash table size, and algorithm for Hash function. The main function should look like following: int main(void) { // declaration of hash map or declare some variables for hash map … // Add student data records that you want. (at least 5 data) // for example, // add(50000001, “Tom”, “900-000-0000”, “Computer Science”); // add(50000002, “Alex”, “900-000-1234”, “Software”); … // Display all data // For example, cout << getName(50000001) << getContactNumber(50000001)… … // deallocate all memory space deallocate(…); return 0; } Enjoy programming!!! Don’t forget submitting your source code to eCollege.
ID del proyecto: 8679843

Información sobre el proyecto

1 propuesta
Proyecto remoto
Activo hace 9 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
1 freelancer está ofertando un promedio de $55 USD por este trabajo
Avatar del usuario
I am an expert in this field from long time. I can do it perfectly. I’ll be waiting for your positive reply thanks.
$526 USD en 10 días
4,0 (8 comentarios)
3,1
3,1
Avatar del usuario
thank you for your posting. your task is very happy for me. i have much experiences in this field. if you hire me, i will complete project ASAP with higher quality. please send more details. best regards.
$25 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hello, Well not much to propose here seeing this is a lab assignment, but what I can say is that this is my area of expertise. I graduated top of my class with my BS back home, currently enrolled in my MS at McGill University in Canada (in the Top 20 worldwide according to QS University Rankings) with a 3.93 GPA, taught programming labs as well as full-fledged courses, and I currently tutor computer science courses. So it's safe to say that I have deep understanding and what it takes to complete this lab assignment; I do hand out assignments of my own authoring. The proposed assignment would be finalized in two days, it will contain clean and well structured code, as well as comments to explain everything going on. Looking forward to you accepting the proposal and me handing your complete assignment back should you find me as the your best option to take on this task. Feel free to demand any proof/validation of my claims regarding my academic career and work. Best, Joseph.
$55 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
United States
0,0
0
Miembro desde oct 14, 2015

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.