看板 Programming 關於我們 聯絡資訊
希望在視窗的輸出畫面為 第一行: Input your name 第二行: 自己輸入名子 第三行: My name is 輸入的名子 我的程式碼: .data str1 BYTE "Input your name",0 fileName BYTE 80 DUP(0) str2 BYTE "My name is",0 .code main PROC mov edx,OFFSET str1 call WriteString ;第一行 call Crlf mov edx,OFFSET fileName mov ecx,SIZEOF fileName-1 call ReadString ;第二行 mov edx,OFFSET str2 call WriteString call Crlf ;第三行 exit main ENDP END main 我遇到的問題是不知道要怎麼做才能讓第三行的最後產生自己輸入的名子 也就是第二行打完名子後, 第三行的最後就會自動出現我所輸入的名子 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 122.122.128.141