[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: sqrt() not recognized in c program??



On Sun, Apr 18, 1999 at 10:36:39AM -0700, Alan Su wrote:
> sqrt is probably in the math library, so you need to link with the -lm
> argument.  try that, and if it doesn't work, i'm sure i can find out
> what the right way to do this is...
> 
> -alan
> 
> kaynjay@igalaxy.net wrote (Sun, 18 Apr 1999 10:27:19 -0700 ):
> |>Does someone know why I would get the following errors in a compilation of a
[...]

Thanks Alan.  That did it.  Sorry for what must be a trivial question, but I
am only on page 3 of my "Ansi C programming for Scientists and Engineers"
book.  

Kenward


Reply to: