目标C中的INT32U和INT8U [英] INT32U and INT8U in Objective C

查看:101
本文介绍了目标C中的INT32U和INT8U的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在声明下面出现错误.当声明为INT32U时,我得到 错误.

I am getting errors withis below declaration.when declared INT32U i'm getting errors.

虽然 INT32U 和int是4个字节.我将如何声明与INT8U等效的内容.我不能使用int 在这里,因为它的 INT8U 是2个字节.

Though INT32U and int are 4 bytes.How will i declare the equivalent of INT8U.I cant use int here as its INT8U is 2 bytes.

INT32U_C Uucode(INT8U_C* pDst,const INT8U_C* pSrc,INT32U_C nSrcLen);

错误:预期为'=',',';" Uucode之前的'asm'或'属性'.

Error:Expected '=',','";" 'asm' or 'attribute' before Uucode.

推荐答案

stdint.h具有特定大小的整数定义,包括uint32_t和uint8_t.

stdint.h has specific-size integer definitions, including uint32_t and uint8_t.

这篇关于目标C中的INT32U和INT8U的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆