[問題] LEDA:任意長度的integer
開發平台(Platform): Linux
問題(Question):
最近發現這個叫做LEDA的神奇東西
http://www.algorithmic-solutions.com/leda/about/index.htm
它好像是個library,有加強版的data structure、algorithm之類的功能
其中有個神奇的東西: Integers of arbitrary length
竟然可以計算很長位數的integer
http://www.leda-tutorial.org/en/unofficial/ch06s01.html
http://www.algorithmic-solutions.info/leda_guide/number_types/integer.html
這真是太神奇了
有大大知道它是怎麼做到的嗎?
小弟抓了free edition下來想玩玩看
http://www.algorithmic-solutions.com/leda/ledak/index.htm
立刻照下面這個簡單例子想要嘗試
http://www.algorithmic-solutions.info/leda_manual/getting_started.html
但是下了 g++ -o prog prog.c -lleda -lX11 -lm 就有error
prog.c:1:31: 錯誤:LEDA/core/d_array.h:沒有此一檔案或目錄
prog.c:2:30: 錯誤:LEDA/core/string.h:沒有此一檔案或目錄
問題應該是出在library沒build起來
請問我要怎樣才能使用這包library呢?
下了make,好像沒什麼變化 @@
謝謝大家
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 180.176.221.68
※ 編輯: Hyozero 來自: 180.176.221.68 (10/17 23:41)
→
10/17 23:41, , 1F
10/17 23:41, 1F
→
10/17 23:41, , 2F
10/17 23:41, 2F
→
10/17 23:47, , 3F
10/17 23:47, 3F
→
10/18 00:04, , 4F
10/18 00:04, 4F
推
10/18 07:15, , 5F
10/18 07:15, 5F
→
10/18 07:15, , 6F
10/18 07:15, 6F
→
10/18 09:44, , 7F
10/18 09:44, 7F
→
10/18 12:39, , 8F
10/18 12:39, 8F