[xubuntu-users] gcc compiler problem

Paul pmanos at sbcglobal.net
Thu Jan 29 20:33:36 UTC 2015


I need to use some math functions in a C program, specifically SQRT and 
SIN.  Is there a ?.h file that I can INCLUDE in the ?.c file?

I have tried #include  <math.h>, this is the same as no #include at 
all.  I also tried #include <tgmath>, With this the messages change from 
unknown function to some nonsense about _EXTERNSION_.  Still no help.

I get identical results with either the cc compiler or the gcc compiler.

Paul Manos




More information about the xubuntu-users mailing list