Delay for c++

Does anyone know a compatible delay function for c++? I would like to use it to make the computer slow down, and make it easier for calculations. Thanks!

You are viewing a single comment. View All

You can sleep in c++ with unistd.h and the sleep function. For example, here's a program that outputs foo, waits a second, and then prints bar: