title: CL Unknown Errors
body: <p>I have written a simple code in C++ in VSC and when I compile it cl gives me some errors, even though it compiles it just fine.
  The code is:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>#include &lt;iostream&gt;
  
  
  int main()
  {   
      //  Print welcome messages to the terminal
      std::cout &lt;&lt; "You are a secret agent breaking into a secure server room\n";
      std::cout &lt;&lt; "You need to enter the correct codes to continue..." &lt;&lt; std::endl;
  
      //Declare 3 number code
      const int CodeA = 4;
      const int CodeB = 3;
      const int CodeC = 2;
  
      
      const int CodeSum = CodeA + CodeB + CodeC;
      const int CodeProduct = CodeA * CodeB * CodeC;
  
      // Print sum and product to the terminal
      std::cout &lt;&lt; std::endl;
      std::cout &lt;&lt; "+ There are 3 numbers in the code" &lt;&lt; std::endl;
      std::cout &lt;&lt; "+ The codes add-up to: " &lt;&lt; CodeSum &lt;&lt; std::endl;
      std::cout &lt;&lt; "+ The code multiply to give: " &lt;&lt; CodeProduct &lt;&lt; std::endl &lt;&lt; std::endl;
  
      int GuessA, GuessB, GuessC;
      std::cin &gt;&gt; GuessA;
      std::cin &gt;&gt; GuessB;
      std::cin &gt;&gt; GuessC;
      std::cout &lt;&lt; "You entered: " &lt;&lt; GuessA &lt;&lt; GuessB &lt;&lt; GuessC &lt;&lt; std::endl;
  
      return 0;
  }</code></pre>
  </div>
  </div>
  </p>
  <p>And the error messages I am getting are:</p>
  <p>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include\ostream(284): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc</p>
  <p>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include\ostream(269): note: while compiling class template member function 'std::basic_ostream&lt;char,std::char_traits&gt; &amp;std::basic_ostream&lt;char,std::char_traits&gt;::operator &lt;&lt;(int)'</p>
  <p>triplex.cpp(22): note: see reference to function template instantiation 'std::basic_ostream&lt;char,std::char_traits&gt; &amp;std::basic_ostream&lt;char,std::char_traits&gt;::operator &lt;&lt;(int)' being compiled</p>
  <p>triplex.cpp(7): note: see reference to class template instantiation 'std::basic_ostream&lt;char,std::char_traits&gt;' being compiled</p>
  <p>Can someone explain to me what these are?
  Thanks in advance!</p>