討論串[問題] 大數字加法
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 3→)留言3則,0人參與, 最新作者freesamael (燒賣)時間14年前 (2011/12/25 16:53), 編輯資訊
0
0
0
內容預覽:
default copy contructor 的作法是逐一呼叫 data member 的 copy constructor,. 相當於產生一個如下的 copy constructor:. HugeInteger(const HugeInteger &o):. IntegerArr(o.Integ
(還有952個字)

推噓3(3推 0噓 18→)留言21則,0人參與, 最新作者freesamael (燒賣)時間14年前 (2011/12/25 04:29), 編輯資訊
0
0
0
內容預覽:
HugeInteger HugeInteger::Add( HugeInteger num2 ). {. HugeInteger temporary;. .... return temporary;. }. 這一行會隱含 copy construction。. temporary 在這個 funct
(還有299個字)

推噓0(0推 0噓 6→)留言6則,0人參與, 最新作者steve1012 (steve)時間14年前 (2011/12/25 00:34), 編輯資訊
0
0
3
內容預覽:
開發平台(Platform): (Ex: VC++, GCC, Linux, ...). VC++. 問題(Question):. 寫出來的加法每次都無法進行. 餵入的資料(Input):. 兩個數字 123456 123456. 預期的正確結果(Expected Output):. 246912.
(還有727個字)
首頁
上一頁
1
下一頁
尾頁