thread.sleep() for c++?

I have a java timer that I made out of bordum. It uses thread.sleep() to run for the input time. I really want to use the pc speaker and the beep() function in c++. Is there a method I can call in a c++ program similar to Java's thread.sleep()? Even better, is there some way of using a method like beep() in Java?

Have a great day,
View the list's information and change your settings at

Other related posts: