機八99 <giba99.bbs@ptt.cc> wrote: > 我是用UBUNTU 7.10 > 在compile時用: gcc XXX.c -lm > 還是出現undefined reference to 'COS' > 程式裡也有加:#include <math.h> > 請問會是哪裡的問題呢?要如何解決? > 謝謝!! COS -> cos -- My Projects: http://hyperrate.com