title: ifstream won't open file
body: <p>I'm trying to open a file so I can read from it.</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;fstream&gt;
  #include &lt;cstdlib&gt;
  using namespace std;
  
  ifstream input_file("blah.txt", ios::in);
  ofstream output_file("output.txt", ios::out);
  
  Bank::Bank(void){
      input_file.open("blah.txt");
      if(!input_file){
          cerr &lt;&lt; "Error" &lt;&lt; endl;
          exit(1);
      }
      else{
          cout &lt;&lt; "good 2 go" &lt;&lt; endl;
      }
  }
  </code></pre>
  
  <p>This is the code I have for reading the file named blah.txt and the output I'm getting at the terminal is the "Error". I am using Linux Mint 14 and gVim, so when I enter the :pwd command, I know I am in directory /mnt/share. Checking from the terminal, file blah.txt is in the same directory. The only thing I can think of is hidden file extensions. Why can't I open the file?</p>