合肥生活安徽新闻合肥交通合肥房产生活服务合肥教育合肥招聘合肥旅游文化艺术合肥美食合肥地图合肥社保合肥医院企业服务合肥法律

代写 CS 20A、代做 C++语言程序

时间:2024-03-25  来源:合肥网hfw.cc  作者:hfw.cc 我要纠错



CS 20A: Data Structures with C++
Project 1: Stock portfolio Due: 3/22/2023 @ 11:59PM Goal
In this project, you will create a stock portfolio to keep track of your investments.
Setup
• The GitHub classroom link is posted on Canvas.
• Be sure to follow the setup guide on Canvas.
• You should read this writeup in its entirety before writing any code.
• This assignment has an interactive mode and a testing mode. Main is sparse – you should fill in
code to interact with the user. The file main.cpp is where you should test your code to make
sure all the methods and functions work as expected.
• Part of the assignment revolves around an input file (or multiple files if you want). There’s a
sample input file in the input folder titled purchaseList.txt it has an example of the two types of
input lines you can expect. See the function headers in driver.h for more details about the input.
• The .cpp files are empty. You’ll need to fill them in based on the .h files and this writeup. We
recommend that you fill in the functions in the order below.
File “money.cpp”
• Note the header file – it’s well documented and a good indication of what each function needs to do. Do not change the function declarations in this file. You may add any additional functions to money.h if you need them.
• You should thoroughly test the code in this file. File “stock.cpp”
• Note the header file – it’s well documented and a good indication of what each function needs to do. Do not change the function declarations in this file. You may add any additional functions to stock.h if you need them.
• You should thoroughly test the code in this file. For example, generate several powers in main to test the functions.
File “portfolio.cpp”
• Note the header file – it’s well documented and a good indication of what each function needs to do. Do not change the function declarations in this file. You may add any additional functions to portfolio.h if you need them.
• You should thoroughly test the code in this file. For example, generate several powers in main to test the functions.
Page 1 of 2

File “driver.cpp”
• Note the header file – it’s well documented and a good indication of what each function needs to do. Do not change the function declarations in this file. You may add any additional functions to driver.h if you need them.
• You should thoroughly test the code in this file. For example, generate several powers in main to test the functions.
Hints
1. No main.cpp code is given, so there’s no output to exactly match. However, main is a good place to test things to make sure the input and output makes sense. Soon we’ll be writing code in the studentTests.cpp file though.
A Note on Style
Be sure to comment your code.
As we discussed in lecture, it is important that your code is properly indented as it greatly adds to readability. If you submit a code file that is not reasonably indented, you will have points deducted.
Likewise, you will lose points if your variable names are not meaningful. Make sure you use variable names that correspond to what you are storing in the variables.
Sample Output
As nothing is given in main, there’s no sample output to test against. Though feel free to add testing code to main as you progress.
Submission
You must push your code to the GitHub assignment to submit your solution.
Grading
We will be using a set of tests only available through GitHub Actions. You do not have access to our testing file. For questions about individual tests, please post on Piazza. The point breakdown is...
请加QQ:99515681  邮箱:99515681@qq.com   WX:codehelp 

扫一扫在手机打开当前页
  • 上一篇:代做 CSCI 4176、代写 Python /c++程序
  • 下一篇:代做 COMP9417、Python 语言程序代写
  • 无相关信息
    合肥生活资讯

    合肥图文信息
    海信罗马假日洗衣机亮相AWE  复古美学与现代科技完美结合
    海信罗马假日洗衣机亮相AWE 复古美学与现代
    合肥机场巴士4号线
    合肥机场巴士4号线
    合肥机场巴士3号线
    合肥机场巴士3号线
    合肥机场巴士2号线
    合肥机场巴士2号线
    合肥机场巴士1号线
    合肥机场巴士1号线
    合肥轨道交通线路图
    合肥轨道交通线路图
    合肥地铁5号线 运营时刻表
    合肥地铁5号线 运营时刻表
    合肥地铁4号线 运营时刻表
    合肥地铁4号线 运营时刻表
  • 关于我们 | 打赏支持 | 广告服务 | 联系我们 | 网站地图 | 免责声明 | 帮助中心 | 友情链接 |

    Copyright © 2020 hfw.cc Inc. All Rights Reserved. 合肥网 版权所有
    ICP备06013414号-3 公安备 42010502001045