Including <string> in c++ using Netbeans
<p>Netbeans fails compilation on:</p>

<pre><code>#include &lt;string&gt;
</code></pre>

<p>Output says:</p>

<pre><code>main.c:10:18: fatal error: string: No such file or directory
 #include &lt;string&gt;
</code></pre>

<p>The previous two declarations are included fine:</p>

<pre><code>#include &lt;stdio.h&gt;
#include &lt;stdlib.h&gt;
</code></pre>

<p>I have removed all the code afterwards to make sure. </p>

<p>I am using cygwin_64 and it installed as per Netbeans c++ installation manual and shows versions in CLI</p>

<p>I am new to C++ and I know there have been similar questions, but the answers didn't help me. </p>