Animation added
This commit is contained in:
@@ -12,8 +12,11 @@
|
||||
|
||||
using namespace std::chrono;
|
||||
using std::cout;
|
||||
using std::flush;
|
||||
using std::string;
|
||||
using std::to_string;
|
||||
using std::this_thread::sleep_for;
|
||||
using std::chrono::milliseconds;
|
||||
/*
|
||||
|
||||
|
||||
@@ -64,7 +67,10 @@ class Park_time {
|
||||
int start_to_int(); // helper
|
||||
};
|
||||
|
||||
// test funciton
|
||||
// test function
|
||||
void Wait(int sec);
|
||||
|
||||
#endif // Park_time
|
||||
// function that slowly outputs each character one by one
|
||||
void text_animation(const string& text, unsigned int pause_time);
|
||||
|
||||
#endif // Park_time
|
||||
|
Reference in New Issue
Block a user