create database golden;create table golden.users(usersId int unsigned not null auto_increment primary key,userName char(20) not null,passWord int unsi...
分类:
数据库 时间:
2014-07-05 18:29:20
阅读次数:
252
string pathKey = CCFileUtils::sharedFileUtils()->fullPathForFilename(fileName);
unsigned char* pBuffer = NULL;
unsigned long bufferSize = 0;
pBuffer = CCFileUtils::sharedFileUtils()->getFi...
分类:
其他好文 时间:
2014-07-04 07:06:09
阅读次数:
244
#include#include#include#include#include#include#include #include#includetypedef unsigned char byte;void GetImgD_SIO(IplImage *src,byte *imagedata){ ....
分类:
其他好文 时间:
2014-07-04 00:03:00
阅读次数:
452
1.区别wchar_t,char,WCHAR ANSI:即 char,可用字符串处理函数:strcat( ),strcpy( ), strlen( )等以str打头的函数。 UNICODE:wchar_t是Unicode字符的数据类型,它实际定义在里: typedef unsigned short ...
分类:
其他好文 时间:
2014-07-03 10:36:28
阅读次数:
230
之前文章说了原理,这里把最终实现的代码总结:IAR 1 void hard_fault_handler_c (unsigned int * hardfault_args) 2 { 3 unsigned int stacked_r0; 4 unsigned int stacked_r1; 5 ...
分类:
其他好文 时间:
2014-07-03 09:11:55
阅读次数:
379
#include using namespace std;unsigned int i1=3;unsigned int i2=6;int i3=i1-i2;cout<<i3<<endl; //-3
分类:
其他好文 时间:
2014-07-03 06:52:51
阅读次数:
263
触摸屏驱动程序框架与上一片文章的输入子系统类似,只是底层驱动由按键变成了触摸屏。S3C2440的ADC相关寄存器:struct s3c_ts_regs { unsigned long adccon; unsigned long adctsc; unsigned long adcdly; un...
分类:
其他好文 时间:
2014-07-02 21:54:57
阅读次数:
285
#if defined(__CHAR_UNSIGNED__) || defined(__sgi) #define INT1 signed char /* integer, signed 1 Byte */#define INT1_MIN SCHAR_MIN...
分类:
其他好文 时间:
2014-07-02 19:19:04
阅读次数:
346
今天在看别人的CAN总线程序的时候,突然发现了这么一句宏定义:#define XBYTE ((unsigned char volatile xdata *) 0),以前都没注意到过。后来查了一下,发现是在ABSACC.h这个头文件中的。这是C51中专有的东西,在C51编程中只要有外部扩展RAM,就....
分类:
其他好文 时间:
2014-07-02 14:58:41
阅读次数:
358
#define FIND(struc,e) (int)&(((struc *)0)->e)...
分类:
编程语言 时间:
2014-07-02 08:13:52
阅读次数:
257