title: The procedure Entry point can not be located in the dynamic link library
body: <p>I have my c++ program which contains tbe following code:</p>
  
  <pre><code>#include "std_lib_facilities.h"
  
  void calculateResults(int, int, int, int);
  
  int main() {
    cout &lt;&lt; "Plese insert four integers: \n";
    int ar1,par1,ar2,par2;
    cin &gt;&gt; ar1 &gt;&gt; par1 &gt;&gt; ar2 &gt;&gt; par2;
    if(par1 == 0 || par2 ==0) {
      error("O paronomasths den mporei na einai 0!\n");
    } else {
      calculateResults(ar1,par1,ar2,par2);
    }
    return 0;
  }
  
  void calculateResults(int ar1,int par1,int ar2,int par2) {
    class Negative_Sqrt_Input {};
    ar1 *= par2;
    ar2 *= par1;
    double resAr = ar1 - ar2;
    double resPar = par1*par2;
    if(resAr &lt; 0 || resPar &lt; 0) {
      throw Negative_Sqrt_Input();
    } else {
      double sqrtResAr = sqrt(resAr);
      double sqrtResPar = sqrt(resPar);
      cout &lt;&lt; sqrtResAr &lt;&lt; "/" &lt;&lt; sqrtResPar;
    }
  }
  </code></pre>
  
  <p>and i get the following error: <strong>The procedure entry point _ZNSt13runtime_errorC1ERKNSt7_cxx1112basic_stringlcSt11char_traitslcESalcEEE could not be located in the dynamic link library C:\Users\Steli\Desktop\fractions_ex1.exe</strong></p>
  
  <p>I've searched through various stack posts but had no luck finding the solution. Any ideas?</p>