类型说明typedef类型说明的格式为:typedef 类型 定义名;类型说明只定义了一个数据类型的新名字而不是定义一种新的数据类型。定义名表示这个类型的新名字。例如: 用下面语句定义整型数的新名字:typedef int SIGNED_INT;使用说明后, SIGNED_INT就成为int的同义词了, 此时可以用SIGNED_INT 定义整型变量。例如: SIGNED_INT i, j;(与i...
分类:
其他好文 时间:
2015-05-03 12:01:59
阅读次数:
199
问题:ERROR 1690 (22003): BIGINT UNSIGNED value is out of range in..的错误解决方法: 把没被singed的变量临时变更signed去处理。 select (cast(col1 as signed)-cast(col2 as signe.....
分类:
其他好文 时间:
2015-04-28 01:54:40
阅读次数:
173
《STL源码剖析》的5.7.7 hash function一节中介绍了中定义了数个现成的hash函数,全都是仿函数。这些hash函数支持的模板类型包括:char*, const char*, char, unsigned char, signed char, short, unsigned short, int , unsigned int, long, unsigned long。这些不同类型的...
分类:
其他好文 时间:
2015-04-26 12:28:03
阅读次数:
148
一,基本类型1,int1>long int ==long 8个字节 %ld2>short int ==short 2个字节 %d %i3>unsigned int ==unsigned 4个字节 %zd4>signed int ==signed==int 4个字节 %d %i2,float /dou...
分类:
编程语言 时间:
2015-04-24 11:58:38
阅读次数:
153
安装环境:Windows7 64位附件内容:1、mongodb Windows7 补丁:451413_intl_x64_zip.exe2、mongodb Windows 安装程序:mongodb-win32-x86_64-2008plus-ssl-3.0.2-signed.msi相关网站:1、mon...
分类:
数据库 时间:
2015-04-23 19:26:50
阅读次数:
199
虽然看似简单但是安装的时候还是碰到了一些问题,这里记录下来。1,到官网下载对应的版本。我的是win8 64位。mongodb-win32-x86_64-2008plus-ssl-3.0.2-signed.msi2,点击安装,我选择安装到d:/mongodb 目录下。3,等待完成,cmd 进入D:\m...
分类:
数据库 时间:
2015-04-22 23:38:48
阅读次数:
174
启动Android studio 1.点击菜单栏Build -> Generate Signed APK...,打开如下窗口 2.这里是类似eclipse中Android的签名,假设这里没有打过apk包,没有签名,那么点击Create new,窗口如下 这里只要输入几个必要项 Key store p...
分类:
移动开发 时间:
2015-04-17 13:39:37
阅读次数:
144
MongoDB在Windows中的安装部署测试环境:MicrosoftWindows7(旗舰版64-bit)MongoDB3.0.2(Windows64-bit2008R2+)安装文件:mongodb-win32-x86_64-2008plus-ssl-3.0.2-signed.msi提示:1、MongoDB不支持WindowsXP及以下版本2、安装文件下载地址http://www.mongodb.org/downloads3..
分类:
数据库 时间:
2015-04-14 20:00:53
阅读次数:
168
绝不要直接将BOOL值和YES比较 Objective-C中的BOOL实际上是一种带符号的的字符类型(signed char)的定义,它使用8位存储空间。YES定义为1,而NO定义为0. #import BOOL areIntsDifferent(int things1, int things2){...
分类:
其他好文 时间:
2015-04-14 16:15:08
阅读次数:
201
Description
For this problem, you will write a program that reads in a sequence of 32-bit signed integers. After each odd-indexed value is read, output the median (middle value) of the elements receiv...
分类:
编程语言 时间:
2015-04-14 12:55:57
阅读次数:
167