-
Notifications
You must be signed in to change notification settings - Fork 6
/
StockSelector.h
40 lines (35 loc) · 927 Bytes
/
StockSelector.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* StockSelector.h
*
* Created on: Dec 20, 2017
* Author: ethanyoung
*/
#include "Fund.h"
#ifndef STOCKSELECTOR_H_
#define STOCKSELECTOR_H_
#include <string>
extern char openingMessage[];
extern char responseInvalidInput[];
extern char usernamePrompt[];
extern char passwordPrompt[];
extern char invalidUser[];
extern char managerMain[];
extern char investorMain[];
extern char devMain[];
extern char newUserMain[];
extern std::string stockFilenameDefault;
extern std::string investorFilenameDefault;
extern std::string fundFilenameDefault;
int login();
int investorPrompt();
int managerPrompt(bool sim, double budget, double upperPercent, double lowerPercent, int num);
int developerPrompt();
int newUserPrompt();
bool checkLogin(int mode);
static Fund *fund;
class StockSelector {
public:
StockSelector();
virtual ~StockSelector();
};
#endif /* STOCKSELECTOR_H_ */