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
相關文章
相關標籤/搜索