作者查詢 / michael47

總覽項目: 發文 | 留言 | 暱稱
作者 michael47 在 PTT [ C_and_CPP ] 看板的留言(推文), 共8則
限定看板:C_and_CPP
首頁
上一頁
1
下一頁
尾頁
[問題] short assign給unsigned int的問題
[ C_and_CPP ]11 留言, 推噓總分: +2
作者: michael47 - 發表於 2014/08/26 22:26(11年前)
2Fmichael47: 請問有辦法將short以bit copy的方式assign給int嗎?08/26 23:01
3Fmichael47: 回樓上,我知道這個short是負數08/26 23:02
6Fmichael47: 感謝LPH66的方法08/26 23:19
7Fmichael47: 我會找時間搜尋firose的提示,感謝分享資訊08/26 23:29
Re: [問題] bit shift << 的問題
[ C_and_CPP ]4 留言, 推噓總分: +4
作者: suhorng - 發表於 2014/08/26 19:30(11年前)
1Fmichael47: 謝謝認真的解釋08/26 22:14
[問題] bit shift << 的問題
[ C_and_CPP ]4 留言, 推噓總分: +1
作者: michael47 - 發表於 2014/08/26 15:04(11年前)
2Fmichael47: 請問樓上的意思是說當type為int(4個bytes)會這樣嗎?08/26 17:11
3Fmichael47: 請問樓上可以提供造成這樣結果的資料來源嗎?08/26 17:12
4Fmichael47: 我已經找到答案了,感謝樓上suhorng的提醒08/26 17:37
首頁
上一頁
1
下一頁
尾頁