1
General / namespace errors
« on: October 20, 2009, 05:57:23 pm »
unchecking "use precompiled headers" when creating a project solved the problem?
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.
#include <SFML/System.hpp>
#include <iostream>
#include "stdafx.h"
int main()
{
sf::Clock Clock;
while (Clock.GetElapsedTime() < 5.f)
{
std::cout << Clock.GetElapsedTime() << std::endl;
sf::Sleep(0.5f);
}
return 0;
}