StockMarketAccount

所属分类:企业管理
开发工具:C++
文件大小:0KB
下载次数:0
上传日期:2018-06-16 03:10:59
上 传 者sh-1993
说明:  编程方法项目2:股票和银行账户
(Programming Methodology Project 2: Stock & Bank Account)

文件列表:
StockAcctProject/ (0, 2018-06-15)
StockAcctProject/.cproject (12502, 2018-06-15)
StockAcctProject/.project (878, 2018-06-15)
StockAcctProject/.settings/ (0, 2018-06-15)
StockAcctProject/.settings/language.settings.xml (2148, 2018-06-15)
StockAcctProject/.settings/org.eclipse.cdt.managedbuilder.core.prefs (1402, 2018-06-15)
StockAcctProject/.tracecompass/ (0, 2018-06-15)
StockAcctProject/.tracecompass/.project (284, 2018-06-15)
StockAcctProject/Debug/ (0, 2018-06-15)
StockAcctProject/Debug/StockAcctProject.exe (369977, 2018-06-15)
StockAcctProject/Debug/fakeproject.exe (369977, 2018-06-15)
StockAcctProject/Debug/function_file.o (228847, 2018-06-15)
StockAcctProject/Debug/main.o (144827, 2018-06-15)
StockAcctProject/bank_transaction_history.txt (43, 2018-06-15)
StockAcctProject/function_file.cpp (6152, 2018-06-15)
StockAcctProject/header_file.h (1932, 2018-06-15)
StockAcctProject/main.cpp (8115, 2018-06-15)
StockAcctProject/stock1.txt (1132, 2018-06-15)
StockAcctProject/stock2.txt (1136, 2018-06-15)
StockAcctProject/stock3.txt (1138, 2018-06-15)
StockAcctProject/stock4.txt (1139, 2018-06-15)
StockAcctProject/stocks_transaction_history.txt (41, 2018-06-15)

# StockMarketAccount For this project we were asked to write a system which models stock market and the bank account using the c++ class features including inheritence. The user has access to a stock account and a bank account that share the same cash balance. The user is able to buy stocks, sell stocks, view their portfolio, and view there stock transaction history. The stocks are already available in the provided .txt files. When calculating prices, the program chooses 1 of the 4 available stock files at random to calculate current prices. When the program runs, the first thing is to show the user three options to work with either stock account, bank account, or exit the program. The sub menu for each will be as following: Welcome to the Account Management System. Please select an account to access - Stock Portfolio Account - Bank Account - Exit Stock account: - Display current price for a stock symbol - Buy stock - Sell stock - Display current portfolio - Display transactions history - Return to main menu Bank account: - Display current cash balance - Deposit to account - Withdraw from account - Display transactions history - Return to main menu

近期下载者

相关文件


收藏者