How can ı use "stdafx.h" in c++? : <p>I have a problem about my c++ code. When ı write in my code include "stdafx.h" ı have errors. Why is the reason? I have 2 pics to better explain my problem. Can anyone help me ?</p>

<p><a href="https://imgur.com/yfHsKD6" rel="nofollow noreferrer">https://imgur.com/yfHsKD6</a></p>

<p><a href="https://imgur.com/T6Jd3pV" rel="nofollow noreferrer">https://imgur.com/T6Jd3pV</a></p>

<p>There is my code:</p>

<pre><code>#include &lt;iostream&gt;
#include "stdafx.h"
using namespace std;
int main()
{
int x, y,toplam=0;

cout &lt;&lt; "1. Sayiyi Giriniz:";
cin &gt;&gt; x;

cout &lt;&lt; "2. Sayiyi Giriniz:";
cin &gt;&gt; y;

toplam = x + y;

cout &lt;&lt; "Sayilarin toplami:" &lt;&lt; toplam &lt;&lt; endl;
system("PAUSE");
return 0;
}
</code></pre>

<p>Error   C1083    Unable to open include file: 'stdafx.h': No such file or directory     </p>

<p>Error (active)  E1696   Source file "stdafx.h" cant open</p>
