title: Fatal error: No such file or directory for header file
body: <p>I'm currently running Ubuntu (The latest firmware) and have a bunch of directories I've made for my c-programming. However, I’m getting an error when compiling telling me that it can't find the "file.h" header file
  Within my main folder "temp"
  the directories are as follows</p>
  
  <pre><code>temp
  </code></pre>
  
  <p>Then:</p>
  
  <pre><code>src bin include assets Makefile
  </code></pre>
  
  <p>src contains a .c file which is:</p>
  
  <pre><code>#include "file.h"
  
  int main(void)
  {
      initscr();
      noecho();
      cbreak();
  
      char ch;
      FILE * ptr;
      ptr = fopen("input.txt","r");
  
      if (ptr == NULL)
      {
          mvprintw(0,0,"Error reading from file");
          exit(1);
      }
  
      while( ( ch = fgetc(ptr) ) != EOF )
      mvprintw(0,0,"%c",ch);
      refresh();
  
      fclose(ptr);
      return 0;
  </code></pre>
  
  <p>}</p>
  
  <p>and my include folder contains the Header file(which gives me the error)
  This is what file.h contains...</p>
  
  <pre><code>    #include &lt;stdio.h&gt;
      #include &lt;string.h&gt;
      #include &lt;stdlib.h&gt;
      #include &lt;ncurses.h&gt;
  </code></pre>
  
  <p>I've also got a makefile as follows:</p>
  
  <pre><code>all:
          gcc -Wall -pedantic -std=c99 src/file.c assets/input.txt -o bin/runMe
  </code></pre>
  
  <p>And finally assets include a .txt file "input.txt" which the program is just supposed  to read some characters from the text file, which is in the assets directory. I've tried using the "#include &lt;  >" notation, but that didn't seem to help. I also tried to use something along the lines of "#include "include/file.h", but as well it was to no avail.</p>