C++ Sleep function. Help!

What is wrong with this?

int gamespeed = 100;

Sleep(gamespeed);

I launch the code and it doesn't seem to work?
Assuming you are #including Window.h to get the 'Sleep' function, there is nothing wrong with that.
Topic archived. No new replies allowed.