I have been playing around with the <ctime> library and tried to calculate fps
(frames per second). I combined it with SFML but the main thing I am working on is calculating fps with <ctime>.
Is this the right way to calculate fps?
ans
How would I regulate the fps to not go too high?