Stock Market Simulator main e8c3612
A game that provides a realistic stock buying experience with unpredictable trends to test investment strategies.
|
Header file for the ANSI Escape code related functions. More...
#include <chrono>
#include <string>
#include <thread>
Go to the source code of this file.
Classes | |
class | time |
Mimics python sleep() behaviour, with param milliseconds. More... | |
Functions | |
void | fetchConsoleDimensions (int &row, int &col) |
std::string | setCursorPosition (int offsetY, int offsetX) |
Variables | |
const std::string | bgBlack |
const std::string | bgBlue |
const std::string | bgCyan |
const std::string | bgDefault |
const std::string | bgGreen |
const std::string | bgMagenta |
const std::string | bgRed |
const std::string | bgWhite |
const std::string | bgYellow |
const int | sleepLong |
const int | sleepMedium |
const int | sleepShort |
const std::string | textBlack |
const std::string | textBlue |
const std::string | textBold |
const std::string | textClear |
const std::string | textCyan |
const std::string | textDefault |
const std::string | textGreen |
const std::string | textItalic |
const std::string | textMagenta |
const std::string | textRed |
const std::string | textReset |
const std::string | textStrikethrough |
const std::string | textUnderline |
const std::string | textWhite |
const std::string | textYellow |
Header file for the ANSI Escape code related functions.
Definition in file format.h.
|
extern |
Definition at line 62 of file format.cpp.
Referenced by main().
|
extern |
Definition at line 56 of file format.cpp.
Referenced by advanceConfirmation(), buyStocks(), drawButton(), drawEventBar(), drawLogo(), drawRoundInfo(), integerInput(), listEvents(), main(), optionsInput(), print_table(), quitConfirmation(), and sellStocks().
|
extern |
Definition at line 39 of file format.cpp.
Referenced by drawButton().
|
extern |
Definition at line 43 of file format.cpp.
|
extern |
Definition at line 45 of file format.cpp.
|
extern |
Definition at line 38 of file format.cpp.
|
extern |
Definition at line 41 of file format.cpp.
|
extern |
Definition at line 44 of file format.cpp.
|
extern |
Definition at line 40 of file format.cpp.
|
extern |
Definition at line 46 of file format.cpp.
Referenced by drawButton().
|
extern |
Definition at line 42 of file format.cpp.
|
extern |
Definition at line 50 of file format.cpp.
Referenced by main().
|
extern |
Definition at line 49 of file format.cpp.
Referenced by buyStocks(), drawLogo(), integerInput(), main(), optionsInput(), and sellStocks().
|
extern |
Definition at line 48 of file format.cpp.
Referenced by drawLogo().
|
extern |
Definition at line 29 of file format.cpp.
Referenced by drawButton().
|
extern |
Definition at line 33 of file format.cpp.
|
extern |
Definition at line 23 of file format.cpp.
Referenced by drawButton().
|
extern |
Definition at line 20 of file format.cpp.
Referenced by drawLogo(), and main().
|
extern |
Definition at line 35 of file format.cpp.
|
extern |
Definition at line 28 of file format.cpp.
Referenced by printgraphblocks().
|
extern |
Definition at line 31 of file format.cpp.
Referenced by graph_plotting(), print_table(), and printgraphblocks().
|
extern |
Definition at line 24 of file format.cpp.
|
extern |
Definition at line 34 of file format.cpp.
|
extern |
Definition at line 30 of file format.cpp.
Referenced by graph_plotting(), print_table(), and printgraphblocks().
|
extern |
Definition at line 21 of file format.cpp.
Referenced by drawButton().
|
extern |
Definition at line 26 of file format.cpp.
|
extern |
Definition at line 25 of file format.cpp.
|
extern |
Definition at line 36 of file format.cpp.
Referenced by drawButton(), graph_plotting(), and print_table().
|
extern |
Definition at line 32 of file format.cpp.