Here's the code
#include <SFML/Graphics.hpp>
int main ()
{
sf::RenderWindow App (sf::VideoMode(447,340), "SFML App");
sf::Text text("Hello");
while (App.isOpen())
{
sf::Event Event;
while (App.pollEvent(Event))
{
if (Event.type == sf::Event::Closed)
App.close();
App.clear();
App.draw(text);
App.display();
}
}
}
It says :
error : no matching function for call to 'sf::Text::Text(const char [6])'