title: Eclipse C/C function 'printf' could not be resolved
body: <p>I'm trying to set up a C/C++ development environment on Eclipse.</p>
  
  <p>I installed the following Eclipse plugins:</p>
  
  <ul>
  <li>C/C++ development tools SDK</li>
  <li>Library API documentation hover help</li>
  <li>Unit testing support</li>
  <li>Compiler support</li>
  </ul>
  
  <p>Then download <a href="http://www.mingw.org/" rel="nofollow noreferrer">MinGW</a>.</p>
  
  <p>I followed this for set up: <em><a href="https://stackoverflow.com/questions/2291369/set-up-eclipse-c-compiler-without-auto-install-or-altering-system-path-on-wind">Set up Eclipse C++ compiler without auto-install or altering System Path on Windows</a></em>
  then:</p>
  
  <pre><code>Menu *Project* ? *Properties* ? *"C/C++ Include Paths and Symbols"* ? *"Add External Include path...". I added these paths:
  C:\MinGW\lib\gcc\mingw32\4.4.0\include
  C:\MinGW\lib\gcc\mingw32\4.4.0\include\c++
  C:\MinGW\lib\gcc\mingw32\4.4.0\include\c++\backward
  C:\MinGW\lib\gcc\mingw32\4.4.0\include\c++\mingw32
  C:\MinGW\lib\gcc\mingw32\4.4.0\include-fixed
  </code></pre>
  
  <p>It still gives me a "Function 'printf' could not be resolved" error or any other function for that matter.</p>
  
  <p>Here is the code</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int main() {
      printf("Hello, World!!!!");
      return 0;
  }
  </code></pre>
  
  <p>When I do <kbd>Ctrl</kbd> + <kbd>Space</kbd>, Eclipse gives me suggestions for C++ functions, but it gives the same error when I select them. It's probably a simple settings change. It would be really helpful if you could help me figure this out.</p>