title: Enable C++ exceptions in Visual Studio 2010 compilation options
body: <p>I'm trying to compile this source code : </p>
  
  <pre><code>// exception_set_unexpected.cpp
  // compile with: /c /EHsc
  #include&lt;exception&gt;
  #include&lt;iostream&gt;
  
  using namespace std;
  
  void unfunction( ) 
  {
     cout &lt;&lt; "I'll be back." &lt;&lt; endl;
     terminate( );
  }
  
  int main( ) 
  {
     unexpected_handler oldHand = set_unexpected( unfunction );
     unexpected( );
  }
  </code></pre>
  
  <p>How can i add <code>compile with: /c /EHsc</code> option in Visual Studio 2010 ?</p>