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
graph.h
Go to the documentation of this file.
1
/// @file graph.h
2
/// @brief Declaration of graph plotting function.
3
/*
4
This program is free software: you can redistribute it and/or modify it under the
5
terms of the GNU Lesser General Public License as published by the Free Software
6
Foundation, either version 3 of the License, or (at your option) any later version.
7
8
This program is distributed in the hope that it will be useful, but WITHOUT ANY
9
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10
PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
11
12
You should have received a copy of the GNU Lesser General Public License along with this
13
program. If not, see <https://www.gnu.org/licenses/>.
14
*/
15
16
#ifndef GRAPH_H
17
#define GRAPH_H
18
#include <string>
19
#include <vector>
20
21
/** @brief Plot the graph of the stock price history to std::cout.
22
* @param player the name of the player
23
* @param stocknum the stock number of the stock, -1 for HSI
24
* @param width the width of the graph
25
* @param height the height of the graph
26
*/
27
void
graph_plotting
(
const
std::string & player,
int
stocknum,
int
width,
int
height);
28
29
#endif
graph_plotting
void graph_plotting(const std::string &player, int stocknum, int width, int height)
Plot the graph of the stock price history to std::cout.
Definition
graph.cpp:135
include
graph.h
Generated on Fri Nov 1 2024 17:53:19 for Stock Market Simulator by
1.12.0