title: Build Failure? "Unable to start program... The system cannot find the file specificed"
body: <p>Hello I am a beginner trying to build a simple win32 console application in effort to follow a youtube tutorial and I keep running into this issue when trying to use VS 2010 express.</p>
  
  <p>EDIT: Here is the youtube video that I am following along, the code is from 14:52 in the video.
  /watch?v=URNZq50X35s&amp;list=PLFBF66E730A679479&amp;index=1</p>
  
  <p>link to error img:
  <a href="https://i.imgur.com/AVD06aa.png" rel="nofollow noreferrer">http://i.imgur.com/AVD06aa.png</a></p>
  
  <p>settings img:
  <a href="https://i.imgur.com/AvMgDxt.png" rel="nofollow noreferrer">http://i.imgur.com/AvMgDxt.png</a></p>
  
  <p>I have googled for more hours then I care to admit now in an effort to try and solve this problem.. I cannot find a fix to this issue.
  Here is the code in the img:</p>
  
  <p>EDIT 2: Revised code due to suggestions just to cross out potential issues</p>
  
  <p>EDIT 3: When rebuilding solution output from build shows:</p>
  
  <p>1>------ Build started: Project: Learning1, Configuration: Debug Win32 ------
  1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========</p>
  
  <p><strong>EDIT 4: SOLUTION FOUND!</strong></p>
  
  <p><strong>Alright I finally found the problem and the solution.</strong></p>
  
  <p><strong>Problem:
  LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt</strong></p>
  
  <p><strong>Solution was found at another article on stackoverflow, a lovely site:
  <a href="https://stackoverflow.com/questions/10888391/link-fatal-error-lnk1123-failure-during-conversion-to-coff-file-invalid-or-c">Error &#39;LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt&#39; after installing Visual Studio 2012 Release Preview</a></strong></p>
  
  <p><strong>Disabled incremental linking and programs will actually run now in VS 2010 express.</strong></p>
  
  <p><strong>Thanks for all your attempts at helping me. Very much appreciated.</strong></p>
  
  <p><strong>(I can't answer my own question for 7 hours because I am new to the site. What a brilliant system.. so this edit will have to do.)</strong></p>
  
  <p><strong>&lt;3</strong></p>
  
  <pre><code>#include &lt;iostream&gt;
  
  using namespace std;
  
  int main()
  {
  
   for (int i = 0; i &lt; 5; i++)
  
   {
      cout &lt;&lt; i &lt;&lt; endl;
   }
  
   cout &lt;&lt; "end of loop v.2" &lt;&lt; endl;
  
   return 0;
  }
  </code></pre>
  
  <p>I have confirmed that this code runs in Code Blocks. </p>
  
  <p>Any and all help will be greatly appreciated.</p>
  
  <p>(If you are wondering why I want to use VS 2010 over code blocks, I simply would prefer Vs 2010 so I can follow the tutorial more appropriately.)</p>
  
  <p>Thank you.</p>