[問題] 拷貝運算元

看板C_and_CPP (C/C++)作者 (豆花伯爵)時間14年前 (2012/06/08 22:59), 編輯推噓0(003)
留言3則, 3人參與, 最新討論串1/1
開發平台(Platform): (Ex: VC++, GCC, Linux, ...) Codeblock 預期的正確結果(Expected Output): 件構元被呼叫..... 拷貝建構元被呼叫.... Windows= A : 主要的視窗 Windows= A : 主要的視窗 刪除prt1之後... Windows= A : 主要的視窗 錯誤結果(Wrong Output): 件構元被呼叫..... 拷貝建構元被呼叫.... Windows= A : 主要的視窗 Windows= A : 主要的視窗 刪除prt1之後... Windows= A : 程式碼(Code):(請善用置底文網頁, 記得排版) http://ideone.com/W1v8D 補充說明(Supplement): 在自己電腦上跑出來的windows= A :後面是亂碼 ,有加入code去測試title但是最後跑 出來還是亂碼 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.129.39.49

06/08 23:47, , 1F
title=win.title;...
06/08 23:47, 1F

06/08 23:53, , 2F
記得給空間
06/08 23:53, 2F

06/09 00:21, , 3F
我知道錯在哪了 感謝
06/09 00:21, 3F
文章代碼(AID): #1FqXDTXd (C_and_CPP)
文章代碼(AID): #1FqXDTXd (C_and_CPP)