2010-11-29 69 views

回答

2

您使用-lm选项链接链接:gcc -o test test.c -lm lm表示链接数学。

+0

实际上-lname表示指向库名称的链接。 m是数学库。 – lijie 2010-11-29 06:58:26