会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
shenlanzifa
博客园
首页
新随笔
联系
订阅
管理
2014年3月30日
C++: byte和int的相互转化
摘要: byte不是一种新类型,在C++中byte被定义的是unsigned char类型;但在C#里面byte被定义的是unsigned int类型 //int转byte void intToByte(int i,byte *bytes,int size = 4) { //byte[...
阅读全文
posted @ 2014-03-30 14:29 shenlanzifa
阅读(4654)
评论(0)
推荐(0)
编辑