C++ Compiled Headers receiving tons of errors : <p>I am receiving errors like cout is undeclared identifier</p>

<p>I have gone through MULTIPLE times and there is nothing I can see that I have done wrong! I am knew so please be patient.</p>

<p>I have checked everything multiple times and this just does not make since to me.</p>

<p>Main.cpp</p>

<pre><code>#include &lt;iostream&gt;
#include &lt;limits&gt;
#include "add.h"


int main()
{
    std::cout &lt;&lt; "this will call function which will have you type in numbers which when done will call the second function as well as giving the second function answers to what it needs. " &lt;&lt; '\n';

    int numOne{ function() };
    int numTwo{ function() };
    std::cout &lt;&lt; "With those two numbers we can add them! and our answer is!" &lt;&lt; functionTwo(numOne, numTwo) &lt;&lt; '\n';
    std::cout &lt;&lt; "we now sent functionTwo the numbers we made using function for simplness. Now functionTwo can have the numbers it needs to do what it needs to do." &lt;&lt; '\n';


    // This code will make it not close automatically.
    std::cin.clear();
    std::cin.ignore(std::numeric_limits&lt;std::streamsize&gt;::max(), '\n');
    std::cin.get();

    return 0;
}


</code></pre>

<p>add.cpp</p>

<pre><code>#include &lt;iostream&gt;
#include "add.h"

int functionTwo(int a, int b)

{
    std::cout &lt;&lt; " fdsaf dasf dsa" &lt;&lt; '\n';


    std::cout &lt;&lt; 2 * a &lt;&lt; '\n';
    std::cout &lt;&lt; 2 + b &lt;&lt; '\n';
    int c{ 2 + b };
    int d{ 2 * a };



    return c + d;

}

</code></pre>

<p>add2.cpp</p>

<pre><code>
#include &lt;iostream&gt;
#include "add.h"
int function()

{
    int a{ 0 };
    std::cin &gt;&gt; a;
    return a;

}

</code></pre>

<p>add.h</p>

<pre><code>#ifndef _IOSTREAM_
#define _IOSTREAM_

int function();



int functionTwo(int a, int b);



#endif


</code></pre>

<p>I am using Microsoft Visual studio and I am trying to compile this. I made sure to make new items / the .cpp files and the .h file. I have tried deleteing the pch.h and the pch.cpp files but I just don't understand what I am doing wrong. Please help me. I am knew so I am sorry for that.</p>
