Right now the header file is "using namespace std". This is considered bad practice, but easy to fix.
Additionally <unistd.h> is used to put the current thread to sleep.
This is not platform independent and can easily be replaced by C++ std library functionality.
Right now the header file is "using namespace std". This is considered bad practice, but easy to fix.
Additionally <unistd.h> is used to put the current thread to sleep.
This is not platform independent and can easily be replaced by C++ std library functionality.