title: Receiving error "no matching function for call to pow(double)"
body: <p>I'm making a code that will calculate interest on a savings account. I listed all my variables as Double. I compiled it before writing the cout prompts at the bottom, and now that my code is finished, it won't compile. It gives me an error. I tried messing with the amount of parentheses, but nothing helped. Here is my code</p>
  
  <pre><code>FinalBalanceDaily = StartingPrinciple*(pow(1+((SimpInt/100)/365),(365*T)));
  FinalBalanceMonthly = StartingPrinciple*(pow(1+((SimpInt/100)/12),(12*T)));
  </code></pre>
  
  <p>This is the error message.</p>
  
  <p>:55: error: no matching function for call to âpow(double)â</p>
  
  <p>and then it gives notes. The thing is, those two lines are on lines 53 and 54, 55 uses the exp function.</p>
  
  <pre><code>FinalBalanceCont = StartingPrinciple*(exp((SimpInt/100)*T));
  EffectiveSimpInt1=(exp(SimpInt*T)-1)/T;
  EffectiveSimpInt2=((pow(1+(SimpInt/365),(365*T)))-1)/T;
  EffectiveSimpInt3=(pow(1+(SimpInt/12),(12*T))-1)/T;
  </code></pre>
  
  <p>These are the lines that use the pow() function</p>