Hi, I got an easy problem for you but really difficult for me 'cause I am pretty new to this field
I got header file <math.h> included in my .c file , then I write the code as below:
k = sqrt\(i\); /* both variables k and i are int */
then I cc temp.c
it says like this
undefined symbol first referenced in file
sqrt temp.o
it really makes me confused, so any one would like to give me a hand?
thanks a lot in avance!
thanks for your suggestion,and I tried as you told me,but it remained the same error,,,
i386ld fatal: Symbol referencing errors. no output written to a.out