討論串[問題]如何把char轉成int
共 6 篇文章
首頁
上一頁
1
2
下一頁
尾頁

推噓5(5推 0噓 6→)留言11則,0人參與, 最新作者hyestt (小傑)時間16年前 (2009/07/10 19:08), 編輯資訊
0
0
0
內容預覽:
請問一下. char ch[333],ch2[333];. cin>>ch;. cin>>ch2;. 我所輸入的都是數字. 那要怎麼使ch+ch2. 我轉換過了static_cast<int>(ch)+static_cast<int>(ch2). 不過沒辦法. --. 發信站: 批踢踢實業坊(p
首頁
上一頁
1
2
下一頁
尾頁