title: Where to place file in order to read?
body: <p>Hey, where do I place a text file that I'm trying to read using fstream? In this tutorial, <a href="http://www.gamedev.net/reference/articles/article1127.asp" rel="nofollow noreferrer">http://www.gamedev.net/reference/articles/article1127.asp</a>, they say</p>
  
  <p>ifstream fin("input.txt");</p>
  
  <p>where would "input.txt" be located? Before I tried directing a path to the file by doing this "C:\Users\XXXXXXX\Documents\test.in". This however does not seem to work, <a href="https://stackoverflow.com/questions/3095339/incorrect-data-input-with-fstream">Incorrect data input with fstream</a>.</p>
  
  <p>I'm using CodeBlocks. </p>
  
  <p>Thanks in advance.</p>