Find Jobs
Hire Freelancers

C++ homework project

$30-5000 USD

已完成
已发布将近 21 年前

$30-5000 USD

货到付款
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: 2930745

关于此项目

12提案
远程项目
活跃21 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
See private message.
$4 USD 在14天之内
4.9 (6条评论)
1.9
1.9
12威客以平均价$28 USD来参与此工作竞价
用户头像
See private message.
$12.75 USD 在14天之内
4.9 (212条评论)
5.8
5.8
用户头像
See private message.
$41.65 USD 在14天之内
5.0 (39条评论)
5.0
5.0
用户头像
See private message.
$85 USD 在14天之内
5.0 (2条评论)
4.7
4.7
用户头像
See private message.
$8.50 USD 在14天之内
5.0 (29条评论)
4.7
4.7
用户头像
See private message.
$55.25 USD 在14天之内
4.9 (79条评论)
4.7
4.7
用户头像
See private message.
$11.05 USD 在14天之内
4.2 (111条评论)
4.4
4.4
用户头像
See private message.
$42.50 USD 在14天之内
5.0 (9条评论)
4.1
4.1
用户头像
See private message.
$4.25 USD 在14天之内
5.0 (36条评论)
3.6
3.6
用户头像
See private message.
$21.25 USD 在14天之内
5.0 (8条评论)
1.8
1.8
用户头像
See private message.
$37.40 USD 在14天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$8.50 USD 在14天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Encino, United States
5.0
36
付款方式已验证
会员自4月 30, 2003起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。