In this tutorial I'll show you, how can you regulate the FPS to a fix number, for example 30 FPS.
Source:
http://pastebin.com/St5vrsxE
SDL is a cross-platform free-source library which allows you to draw to the screen (so make graphical programs), we'll make 2D games with it, but it can make 3D render as well, if you use it with OpenGL.
SDL tutorial:
http://www.lazyfoo.net/SDL_tutorials/...
Download && other things:
http://www.libsdl.org/
Nesta página do site você pode assistir ao vídeo on-line SDL tutorial 2 - Regulating FPS duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário thecplusplusguy 27 Junho 2011, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 21,648 vezes e gostou 162 espectadores. Boa visualização!