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
time Class Reference

Mimics python sleep() behaviour, with param milliseconds. More...

#include <format.h>

Static Public Member Functions

static void sleep (int dur)
 

Detailed Description

Mimics python sleep() behaviour, with param milliseconds.

Definition at line 56 of file format.h.

Member Function Documentation

◆ sleep()

void time::sleep ( int dur)
static

Definition at line 52 of file format.cpp.

52 {
53 std::this_thread::sleep_for(std::chrono::milliseconds(dur));
54}

Referenced by buyStocks(), drawLogo(), integerInput(), main(), optionsInput(), and sellStocks().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: