title: Netbeans: cannot find include file <iostream>, also, unable to resolve identifier std, cout
body: <p>I'm receiving the above errors on all my C++ projects on Netbeans.  I also receive cannot find errors for anything else I try to include.  Here's what it says when I hold control and hover over it: <a href="http://imgur.com/bBF2xuB" rel="noreferrer">http://imgur.com/bBF2xuB</a>. One of the projects actually builds and runs just fine, but all the rest fail either with "build failed, exit value 2" or the run fails with "run failed, exit value 127".  I have absolutely no idea how to fix this and everything I've looked up to try to solve this hasn't helped.  This wasn't a problem a few months ago when I was using Netbeans, and I'm not sure why the problem spontaneously popped up.</p>
  
  <p>I just freshly installed Netbeans 8.0 and the latest cygwin version to try to fix this, but to no avail.  I'm running Windows 7.
  Please help, it would be greatly appreciated.</p>
  
  <p>EDIT
  The highlighted red errors in the attached photo are files/folders that do not actually exist.  Could this be the problem, and if so, how can I go about fixing it?</p>
  
  <p>EDIT 2
  I deleted or changed some of the non-existent file/folder paths in the code assistance tab under the C/C++ tab under the options, this seems to have made some of the errors in the editor go away, but I still cannot build the project (and the errors haven't disappeared on this specific project), and the projects that I created in the past that used to work just fine are building, but I'm still receiving "RUN FAILED exit value 127".</p>