title: visual studio fatal error LNK1120:
body: <p>just i wanted to make a program using viual stidio 2010
  when i do build i have this excaption
  i just wrote empty main c++ program (no syntax errors)</p>
  
  <p>what i got is:</p>
  
  <pre><code>1&gt;LINK : error LNK2001: unresolved external symbol _mainCRTStartup
  1&gt;c:\users\dell\documents\visual studio 2010\Projects\test\Debug\test.exe : 
  fatal error LNK1120: 1 unresolved externals
  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  </code></pre>
  
  <p>code is :</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  
  int main()
  {
      cout &lt;&lt; "Hello World" &lt;&lt; endl; 
      return 0;
  }
  </code></pre>
  
  <p>please help me to fix it asap
  thanks ,,</p>