Skip to content

Instantly share code, notes, and snippets.

@maidis
Created February 23, 2011 15:03
Show Gist options
  • Save maidis/840518 to your computer and use it in GitHub Desktop.
Save maidis/840518 to your computer and use it in GitHub Desktop.
saat.cpp
#include <SFML/System.hpp>
#include <iostream>
int main()
{
sf::Clock Saat;
while (Saat.GetElapsedTime() < 5.f)
{
std::cout << Saat.GetElapsedTime() << std::endl;
sf::Sleep(0.5f);
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment