C++ Stock Market
A simple C++ Stock Market Simulator.
Play the game in full screen
Welcome to an old project I
made a long time ago, but lost
the project. Now I'm trying to revive
the old program.
You can view this on Github here!
Submit Idea to add a new stock. You can submit it here!
Stock voting in the link above. Name a stock and it might be in game.
Planning on fixing the script and making if's switch statements. Also planning on adding more stocks.
Added highest value, also added >> when entering.
Changed the rates of stock increase, should increase more.
Fixed the leap year bug, now leap year actually works.
Added title screen
Added third stock
Fixed negative decrease rate, it was too high.
Added month and year.
Added second stock
Fixed stock change to show negative decrease.
Initial game release. Only one stock (named Goo), but am planning to add more.
I actually love this! It's so simple but mildly entertaining. I think I lost to myself though :( Anyways, I know the other guy already said this, but that switch case code would greatly help you here. Other than that, nice work!
- very ugly code
- use a switch case instead of 20000 if statements
- https://github.com/effolkronium/random instead of rand()
- use classes and namespaces (or soon to be modules - c++20)
- use an actual code_style (or codeStyle / CODE-STYLE)
- stop "using namespace std;" 😠
- stop putting spaces before (), it looks weird