作者:
NTUTcc (鏡晨)
2017-06-17 22:11:47開發平台(Platform): (Ex: Win10, Linux, ...)
Windows 10
編譯器(Ex: GCC, clang, VC++...)+目標環境(跟開發平台不同的話需列出)
VC++
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
無
問題(Question):
編譯時發生attemting to reference a delete function error
餵入的資料(Input):
預期的正確結果(Expected Output):
錯誤結果(Wrong Output):
程式碼(Code):(請善用置底文網頁, 記得排版)
https://i.imgur.com/5tmxoOF.jpg
補充說明(Supplement):
Card c = Card(1); // 正確
Card cs[1];
cs[0] = Card(1); // 錯誤
為何??