> Try b=pow(a,1/2); or b=pow(a,0.5); > IIRC, there is no sqrt function, however there is a pow function for a^b = > pow(a,b); > No no! There is a sqrt function. As as pointed out in the previous mail on this thread, use the "-lm" option to gcc to "l"ink the "m"ath library. regards, jaju To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list button and fill the appropriate information and submit. For any other queries contact the ML maintener
- [ILUG-BOM] Help with compiling C program Philip S Tellis
- Re: [ILUG-BOM] Help with compiling C program Linux WebMaster
- Re: [ILUG-BOM] Help with compiling C program Philip S Tellis
- Re: [ILUG-BOM] Help with compiling C program Binand Raj S.
- Re: [ILUG-BOM] Help with compiling C prog... Linux WebMaster
- Re: [ILUG-BOM] Help with compiling C program Devdas Bhagat
- Re: [ILUG-BOM] Help with compiling C program Ravindra Jaju
- Re: [ILUG-BOM] Help with compiling C program Aditya Kulkarni
- Re: [ILUG-BOM] Help with compiling C program Binand Raj S.
- Re: [ILUG-BOM] Help with compiling C program Philip S Tellis
