title: SFML loadFromFile not showing image
body: <p>I've been trying to output an image using SFML in C++ VS 2013, but when I use loadFromFile, it doesn't display anything, I've checked the working directories, it's the project directory, and the image is in a file in it. Here is the code:-</p>
  
  <pre><code>#include "stdafx.h"
  #include &lt;iostream&gt;
  #include &lt;SFML/Graphics.hpp&gt;
  int main(){
  sf::VideoMode videomode(800, 800);
  sf::RenderWindow window(videomode, "HEllO");
  sf::Sprite sprite;
  sf::Texture texture;
  texture.loadFromFile("Images\aline.png");
  sprite.setTexture(texture);
  sprite.setPosition(200, 200);
  while (window.isOpen()){
      window.clear();
      window.draw(sprite);
      window.display();
      sf::Event event;
      while (window.pollEvent(event)){
          if ((event.type == sf::Event::Closed))
              window.close();
          }
  
      }
  }
  </code></pre>
  
  <p>The place where my image is:
  Documents\Visual Studio 2013\Projects\ConsoleApplication1\ConsoleApplication1\Images</p>
  
  <p>Working directory:-
  $(ProjectDir)</p>
  
  <p>If you have any idea why this is happening, please help me. I'm sorry if the question is a stupid/obvious one.</p>