Stock Market Simulator main e8c3612
A game that provides a realistic stock buying experience with unpredictable trends to test investment strategies.
Loading...
Searching...
No Matches
Todo List
Member assertion_check_mutual_exclusivity (void)
: put assertion_check_uniq_events into a separate file, e.g. tests.cpp
Member assertion_check_uniq_events (void)
: put assertion_check_uniq_events into a separate file, e.g. tests.cpp
Member fetchConsoleDimensions (int &row, int &col)
Suggest terminal sizes. Dynamic size needs testing on windows. Not implemented because of time constraints.
Member pick_events (const std::vector< Stock_event > &all_events, unsigned int num_events)
Optimize this loop so that we don't have to calculate the total_permille every time we pick an event.
Member pickUniqueNames (const unsigned int &num, const vector< string > &words, const vector< string > &suffixes, vector< string > &companyNames)

: add a test case or assertion

: use unordered_set instead of vector since we are checking for uniqueness