Delay in C++

You should mark this as answered as its the only real way to do it in c++