Menu

I need help from Spain

2003-02-03
2012-09-26
  • Nobody/Anonymous

    I'am doing a program for calculate one mathematics expresion. And I've to use some symbol for to elevate some number to another number. How do I do that? What library I need?
    Thank you!

     
    • Nobody/Anonymous

      Talk to colin. Look on bloodshed.net in his software collection. I have not tried it, but I saw a while ago he had an app that does this. Maybe you can ask him nicely for source?

      Kip

       
    • Anonymous

      Anonymous - 2003-02-04

      Hi,
      What you need is this:
      double pow (double, double), from math.h

      Hola,
      Lo que necesitas es incluir math.h y as poder usar pow, que da un double y necesita dos parmetros, ambos tambin double.
      Ejemplo: z=x^y
      double z=pow(x,y);

      Suerte con tu programa!

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.