一、选择标识符 ????一旦选定了一种类型,要确保在所有关联中都使用同样的类型,类型之间需要精确匹配,包括像UNSIGNED这样的属性。 ????问题:在比较操作时隐式的类型转换也可能导致很难发现的错误。 ?...
分类:
数据库 时间:
2015-10-26 20:55:56
阅读次数:
291
一、代码展示 1、头文件: #ifndef OLED_H_ #define OLED_H_ extern unsigned char Draw[]; extern const unsigned char Font_8x16[]; extern const unsigned char HanZi[][...
分类:
其他好文 时间:
2015-10-26 20:46:44
阅读次数:
3848
#define WIN32_LEAN_AND_MEAN#include #include #include #include #include #define uchar unsigned char#define DEFAULT_PORT 80#define DEFAULT_PROTO SOCK_S...
nafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) 已经在 LIBCMTD.lib(new.obj) 中定义nafxcwd.lib(afxmem.obj...
分类:
其他好文 时间:
2015-10-26 16:48:12
阅读次数:
234
由图知道 低电平 亮,高电平 灭控制第一个 LED1 亮灭程序代码,如下 1 #include 2 #define uchar8 unsigned char 3 #define uint16 unsigned int 4 sbit LED1=P1^0; 5 /*************...
分类:
其他好文 时间:
2015-10-26 11:43:59
阅读次数:
201
VC的64位整数 分别叫做__int64与unsigned __int64,其范 围分别是[-2^63, 2^63)与[0,2^64),即-9223372036854775808~9223372036854775807与0~18446744073709551615(约1800亿亿)。
分类:
其他好文 时间:
2015-10-24 17:03:33
阅读次数:
147
转自::http://blog.csdn.net/luyuncheng/article/details/11674123—Built-inFunction:int __builtin_ffs (unsigned int x)Returns one plus the index of the leas...
分类:
其他好文 时间:
2015-10-24 12:48:13
阅读次数:
133
1. malloc()函数 1.1 malloc的全称是memory allocation,中文叫动态内存分配。 原型:extern void *malloc(unsigned int num_bytes); 说明:分配长度为num_bytes字节的内存块。如果分配成功则返回指向被...
分类:
其他好文 时间:
2015-10-23 13:40:31
阅读次数:
200
12.1 Find the mistake(s) in the following code:unsigned int i;for (i = 190; i >= 0; --i)printf("%d\n", i);这道题让我们找出给定的简短的程序的错误,这里共有两处错误:1. 无符号整型永远大于0,所...
分类:
其他好文 时间:
2015-10-23 07:52:46
阅读次数:
165
商品类型管理:先要创建商品类型的表,用来存储商品类型的信息。create table i_type( id tinyint unsigned primary key auto_increment, type_name varchar(32) not null comment '商品类型的名称', i...
分类:
数据库 时间:
2015-10-20 22:53:55
阅读次数:
769