[問題] 請教一下結構問題

看板C_and_CPP (C/C++)作者 (吃飯睡覺打東東)時間15年前 (2011/02/11 17:21), 編輯推噓0(003)
留言3則, 3人參與, 最新討論串1/1
開發平台(Platform): (Ex: VC++, GCC, Linux, ...) 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...) 問題(Question): 請各位大大幫我解惑謝謝,為什麼我想把(student+i)->name複製到(fail+index)->name 而(fail+index)->name=(student+i)->name;卻會有錯誤 餵入的資料(Input): 預期的正確結果(Expected Output): 錯誤結果(Wrong Output): 程式碼(Code):(請善用置底文網頁, 記得排版) http://nopaste.csie.org/26dbd#form 補充說明(Supplement): -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 122.118.81.185

02/11 17:27, , 1F
又來月經文
02/11 17:27, 1F

02/11 17:29, , 2F
因為不能用=複製陣列。
02/11 17:29, 2F

02/11 17:34, , 3F
喔喔 原來壓 謝謝大大解惑
02/11 17:34, 3F
文章代碼(AID): #1DLF-hUM (C_and_CPP)
文章代碼(AID): #1DLF-hUM (C_and_CPP)