码迷,mamicode.com
首页 >  
搜索关键字:unsigned    ( 4409个结果)
memcpy的使用方法总结
1、memcpy 函数用于 把资源内存(src所指向的内存区域) 复制到目标内存(dest所指向的内存区域);拷贝多少个?有一个size变量控制拷贝的字节数;函数原型:void *memcpy(void *dest, void *src, unsigned int count);使用方法:(1)能够...
分类:其他好文   时间:2014-11-06 21:28:34    阅读次数:195
sms
//danny #include <STC12C5A60S2.H> sbit S0 = P1^0; sbit S1 = P1^1; sbit S2 = P1^2; sbit S3 = P1^3; unsigned int RXnum = 0; //数量 unsigned int TXnum = 0; //数量 unsigned char code LedChar[] = { /...
分类:其他好文   时间:2014-11-06 20:21:47    阅读次数:196
BZOJ 3555 Ctsc2014 企鹅QQ Hash
题目大意:给定n个不相同的字符串,问有多少对字符串只差一个字母 枚举每个只差一个字母的位置,取除这个字符以外的哈希值判断即可 #include #include #include #include #define M 30300 #define BASE 149 using namespace std; typedef unsigned long long ll; int n,k,ans; l...
分类:其他好文   时间:2014-11-06 14:53:51    阅读次数:190
Unity unsigned(debug) 模式下的签名理解
用unity打包apk时,通常渠道都会进行二次签名,因此经常有人选择签名时用Unity unsigned(debug) 模式,但是也有部分渠道不会去重新签名(比如360),这个时候每次更新包,就必须用最开始打包的机器去打包,否则会出现签名不一致,这样很麻烦。后来研究后发现,其实unity中的unsi...
分类:编程语言   时间:2014-11-06 14:29:18    阅读次数:1171
解决warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘int *’
[root@CCc]#gccMemTest.c-oMemTest1-WallMemTest.c:Infunction‘main’:MemTest.c:24:warning:format‘%x’expectstype‘unsignedint’,butargument2hastype‘int*’MemTest.c:39:warning:format‘%x’expectstype‘unsignedint’,butargument2hastype‘int*’MemTest.c:24:war..
分类:其他好文   时间:2014-11-06 02:11:28    阅读次数:1093
malloc函数具体解释
一、原型:extern void *malloc(unsigned int num_bytes);头文件:#include 或 #include (注意:alloc.h 与 malloc.h 的内容是全然一致的。)功能:分配长度为num_bytes字节的内存块说明:假设分配成功则返回指向被分配内.....
分类:其他好文   时间:2014-11-05 14:22:22    阅读次数:174
无法解析的外部符号 _AtlTraceVU,无法解析的外部符号 ATL::CTrace ATL::CTrace::s_trace
无法解析的外部符号 _AtlTraceVU,该符号在函数 "public: void __cdecl ATL::CTrace::TraceV(char const *,int,unsigned long,unsigned int,wchar_t const *,char *)const " (?TraceV@CTrace@ATL@@QBAXPBDHKIPB_WPAD@Z) 中被引用 ...
分类:其他好文   时间:2014-11-05 11:01:35    阅读次数:503
一些整数类型的表示范围
unsigned int 0~4294967295 int -2147483648~2147483647 unsigned long 0~4294967295long -2147483648~2147483647long long: -...
分类:其他好文   时间:2014-11-04 22:34:33    阅读次数:208
c/c++中sleep()函数毫秒级的实现
最近看到好多人在问,c/c++中的sleep函数是秒级的,能不能实现毫秒级的呢?当然很简单,我的写法如下 #include #include static void sleep_ms(unsigned int secs) {     struct timeval tval;     tval.tv_sec=secs/1000;     tval.tv_use...
分类:编程语言   时间:2014-11-04 13:17:06    阅读次数:297
利用netfilter机制,实现内核防火墙把http请求和回应的数据包截获后,解释出其中的http层数据
#include #include #include #include #include #include #include #include #include unsigned int change(int aChar,int hex) {     int ch;     ch = aChar - hex;     return ch; } unsigned cha...
分类:Web程序   时间:2014-11-04 13:10:22    阅读次数:231
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!