Re: [問題] C regex
看板C_and_CPP (C/C++)作者Neisseria (Neisseria)時間11年前 (2014/09/19 05:35)推噓1(1推 0噓 0→)留言1則, 1人參與討論串2/2 (看更多)
※ 引述《momo81 (毛毛)》之銘言:
: 開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
: win7 + devcpp 5.7.1 gcc x64 4.8.1
: 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
: GnuWin32 (regex2.7)
: 問題(Question):
: 想請再此開發環境下
: 想使用regex 該如何使用呢?
: undefined reference to `__imp_regcomp'
: undefined reference to `__imp_regerror'
: undefined reference to `__imp_regexec'
: undefined reference to `__imp_regfree'
可參考 http://bit.ly/1r3wGaf 或是 http://bit.ly/XNVYxy
基本上 就是 link 的問題
先找一些短的例子 不用 devcpp 直接在命令列 compile 看看
看是 regex library 本身的問題 還是 devcpp 裡設定不正確
Good Luck.
: 總會出現這個錯誤QQ
: 餵入的資料(Input):
: 網路上的example
: 預期的正確結果(Expected Output):
: 錯誤結果(Wrong Output):
: 程式碼(Code):(請善用置底文網頁, 記得排版)
: 補充說明(Supplement):
: 謝謝!
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 59.104.139.169
※ 文章網址: http://www.ptt.cc/bbs/C_and_CPP/M.1411076147.A.ABD.html
推
09/19 15:45, , 1F
09/19 15:45, 1F
※ 編輯: Neisseria (112.104.128.230), 12/24/2018 06:35:51
討論串 (同標題文章)
完整討論串 (本文為第 2 之 2 篇):
1
1
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章