1
General / extlibs...
« on: June 25, 2010, 12:23:27 pm »
So actually, i did "install" it properly..! That's a 110% fluke..! SCORE...!
Thanks..!
Thanks..!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
// Load a music to play
sf::Music Music;
if (!Music.OpenFromFile("Kalimba.mp3"))
return EXIT_FAILURE;
// Play the music
Music.Play();
#include <SFML/System.hpp>
#include <iostream>
int main()
{
sf::Clock Clock;
while (Clock.GetElapsedTime() < 5.f)
{
std::cout << Clock.GetElapsedTime() << std::endl;
sf::Sleep(0.5f);
}
return 0;
}