Find Jobs
Hire Freelancers

C++ homework project

$30-5000 USD

Completed
Posted about 21 years ago

$30-5000 USD

Paid on delivery
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
Project ID: 2930745

About the project

12 proposals
Remote project
Active 21 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$4 USD in 14 days
4.9 (6 reviews)
1.9
1.9
12 freelancers are bidding on average $28 USD for this job
User Avatar
See private message.
$12.75 USD in 14 days
4.9 (212 reviews)
5.8
5.8
User Avatar
See private message.
$41.65 USD in 14 days
5.0 (39 reviews)
5.0
5.0
User Avatar
See private message.
$85 USD in 14 days
5.0 (2 reviews)
4.7
4.7
User Avatar
See private message.
$8.50 USD in 14 days
5.0 (29 reviews)
4.7
4.7
User Avatar
See private message.
$55.25 USD in 14 days
4.9 (79 reviews)
4.7
4.7
User Avatar
See private message.
$11.05 USD in 14 days
4.2 (111 reviews)
4.4
4.4
User Avatar
See private message.
$42.50 USD in 14 days
5.0 (9 reviews)
4.1
4.1
User Avatar
See private message.
$4.25 USD in 14 days
5.0 (36 reviews)
3.6
3.6
User Avatar
See private message.
$21.25 USD in 14 days
5.0 (8 reviews)
1.8
1.8
User Avatar
See private message.
$37.40 USD in 14 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$8.50 USD in 14 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Encino, United States
5.0
36
Payment method verified
Member since Apr 30, 2003

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.