Re: [問題] Undefined reference
請注意版規
二、歡迎檢討作業或程式練習題,寫明問題內容及程式需求,並提出自己的想
法及未完成的程式,請人進一步指引解題方向。但嚴禁只列題目,伸手求
討作業解
原文刪除
※ 引述《jethrokay (just wake up)》之銘言:
: Appeal to anyone's kind response~~
: I encounter several problems when runnuing C program in Redhat Linux
: which are:
: undefined reference to `pow'
: undefined reference to `exp'
: undefined reference to `sqrt'
: I've included <math.h> but I don't know why such kind of problem will occur.
: Could anyone give me some help? Thanks a lot.
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 210.71.10.14
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章