

→ a27417332: 粗淺地看下,感覺是因為你賦值跟複製沒弄好 04/28 22:05
→ yilanP: 剛剛google了一下賦值跟拷貝…我都沒寫也完全不知道 04/28 22:15
→ yilanP: 感謝樓上 04/28 22:15
→ pttworld: Ans寫法不對 04/28 22:38
→ yilanP: 想問樓上正確要怎麼寫?或是google關鍵字 中英皆可 04/28 22:40
→ hunandy14: .h 裡面怎麼一起放了定義 04/29 10:45
→ hunandy14: 26行 執行 Encryption 的時候返回會 啟動複製函式 04/29 10:52
→ hunandy14: 更正複製建構子 04/29 11:03
推 chchwy: 補上copy contrcutor跟asssignment operator應該就會正常 04/29 11:03
推 LPH66: 基本觀念(關鍵字): Rule of Three / Rule of Five 04/29 12:26
→ yilanP: 感謝樓上各位的回答,多了copy constructor跟assign opera 04/29 12:43
→ yilanP: tor後就正常了 04/29 12:43
→ yilanP: lph66的回答我也會去看的謝謝了 04/29 12:44