Find Jobs
Hire Freelancers

C++ homework project

$30-5000 USD

Terminado
Publicado hace casi 21 años

$30-5000 USD

Pagado a la entrega
I have the site header files too. It should work exacutly as described. LOWEST BIT WILL GET THE JOB. I'm attaching the [login to view URL] file, PLEASE review for full description. Your project should contain the following files: [login to view URL] - program driver, contains the main(), menu(), pause() functions BST.h - Binary Search Tree header [login to view URL] - Binary Search Tree implementation BSTNode.h - Binary Search Tree Node header [login to view URL] - Binary Search Tree Node implementation City.h - City class header [login to view URL] - City class implementation (only contains constructors) The objective of this project is to implement Binary Search Tree ADT. You need to implement pointer based tree node class, where the key has a string value and each node contains information on some city. Your program should be interactive and menu driven. Here are steps that your program should perform: 1. Declare a binary search tree. The tree will be initially empty. 2. Read the input ASCII text file and add nodes to the BST. Each line in the input file corresponds to one record for one city. The fields in the input are tab delimited. Here are the requirements: Use ifstream data type to read the input file: string inputLine; ifstream inFile; [login to view URL]("C:\\Project2\\[login to view URL]"); while (![login to view URL]()){ // read a single line from the input file inFile >> inputLine; // parse and process the input // convert all city names to all uppercase // before inserting into the BST // insert nodes into the BST with the new information // ... }; [login to view URL](); You need to check for duplicate city names. If the city is already in the tree, don’t insert it, but display a message and skip that record. 3. Display a menu with the following options: a. Display BST ??" in in-order b. Display BST ??" in pre-order c. Display BST ??" in post-order d. Print BST Statistics Calculate and display the following: 1. Number of nodes 2. Number of leaf nodes 3. Number of Internal nodes 4. Tree height e. Search for a city (by name) ## 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. ## Platform windows
ID del proyecto: 2930745

Información sobre el proyecto

12 propuestas
Proyecto remoto
Activo hace 21 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.
$4 USD en 14 días
4,9 (6 comentarios)
1,9
1,9
12 freelancers están ofertando un promedio de $28 USD por este trabajo
Avatar del usuario
See private message.
$12,75 USD en 14 días
4,9 (212 comentarios)
5,8
5,8
Avatar del usuario
See private message.
$41,65 USD en 14 días
5,0 (39 comentarios)
5,0
5,0
Avatar del usuario
See private message.
$85 USD en 14 días
5,0 (2 comentarios)
4,7
4,7
Avatar del usuario
See private message.
$8,50 USD en 14 días
5,0 (29 comentarios)
4,7
4,7
Avatar del usuario
See private message.
$55,25 USD en 14 días
4,9 (79 comentarios)
4,7
4,7
Avatar del usuario
See private message.
$11,05 USD en 14 días
4,2 (111 comentarios)
4,4
4,4
Avatar del usuario
See private message.
$42,50 USD en 14 días
5,0 (9 comentarios)
4,1
4,1
Avatar del usuario
See private message.
$4,25 USD en 14 días
5,0 (36 comentarios)
3,6
3,6
Avatar del usuario
See private message.
$21,25 USD en 14 días
5,0 (8 comentarios)
1,8
1,8
Avatar del usuario
See private message.
$37,40 USD en 14 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$8,50 USD en 14 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Encino, United States
5,0
36
Forma de pago verificada
Miembro desde abr 30, 2003

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.