linux gcc 报错 undefined reference to 'pow' and 'floor'

找到解决方式:this https://stackoverflow.com/questions/8671366/undefined-reference-to-pow-and-floorcode   You need to compile with the link flag -lm, like this:get gcc fib.c -lm -o fibo This will tell gcc to
相关文章
相关标签/搜索