看板 C_and_CPP 關於我們 聯絡資訊
開發平台(Platform): (Ex: Win10, Linux, ...) Win10 編譯器(Ex: GCC, clang, VC++...)+目標環境(跟開發平台不同的話需列出) VS2019 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...) 問題(Question): 括號配對 餵入的資料(Input): 預期的正確結果(Expected Output): 錯誤結果(Wrong Output): 程式碼(Code):(請善用置底文網頁, 記得排版,禁止使用圖檔) http://codepad.org/9PL0ONyX 補充說明(Supplement): 看不太懂他error的意思 為何一定要+& 懇請賜教 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 110.26.94.9 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1586799989.A.201.html ※ 編輯: samsandy (110.26.94.9 臺灣), 04/14/2020 01:48:48
galic: charstack.top()04/14 01:58
galic: 這不能怪你 換個編譯器吧 連報錯都不會04/14 02:03
samsandy: www 所以charstack.top 的值才對嗎04/14 09:17
galic: charstack.top()是個function 你少了`()'04/14 11:29
samsandy: 已解決 感謝04/14 12:07
※ 編輯: samsandy (110.26.94.9 臺灣), 04/14/2020 12:07:21