在c中const这个关键字,维基给出这样一句话
When applied in an object declaration,[b] it indicates that the object is a constant: its value does not change, unlike a variable. This basic use – to declare constants – has...
分类:
其他好文 时间:
2015-08-04 15:52:44
阅读次数:
124
1、C++一个强大而低级的工具是,可以使用指针来直接操纵计算机内存,这也是C++相对于JAVA、C#和Visual Basic等语言的优点之一。2、什么是指针?指针是存储内存地址的变量。3、能够使用指针以及在底层操纵内存是C++被选择用于编写嵌入式和实时应用程序的原因之一。4、指针定义的时候一定要初...
分类:
编程语言 时间:
2015-08-03 22:33:25
阅读次数:
164
正常的图片缩放代码如:ByteArrayOutputStream baos = new ByteArrayOutputStream();arg1.compress(Bitmap.CompressFormat.JPEG, 100, baos);//arg1为传进来的原始bitmapbaos.toByt...
分类:
其他好文 时间:
2015-08-03 18:52:02
阅读次数:
129
背景:Oracle服务端装在服务器上,其他人使用PL/SQL远程连接。众多周知,因为Oracle数据库太过庞大,装在本机上会导致电脑非常卡,非常影响日常使用。所以咱们的做法是在服务器上安装一个Oracle服务端,然后其他人通过安装配置Oracle客户端去远程连接数据库。请看以下具体配置:第一步:解压客户端解压32位的Oracle即时客户端:instantclient-basic-win32-11.2...
分类:
数据库 时间:
2015-08-03 01:15:44
阅读次数:
164
简单的向量加
/**
* Vector addition: C = A + B.
*
* This sample is a very basic sample that implements element by element
* vector addition. It is the same as the sample illustrating Chapter 2
* o...
分类:
其他好文 时间:
2015-08-02 08:54:57
阅读次数:
134
selectdate_format(create_time,‘%Y-%m-%d‘)fromt_user_basic_info%S,%s两位数字形式的秒(00,01,...,59)
%i两位数字形式的分(00,01,...,59)
%H两位数字形式的小时,24小时(00,01,...,23)
%h,%I两位数字形式的小时,12小时(01,02,...,12)
%k数字形式的小时,24小时..
分类:
数据库 时间:
2015-08-01 19:12:50
阅读次数:
311
1.Apache DSO(Dynamic Shared Object)(1) 查看已编译模块:[root@kallen ~]# httpd -M
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
auth_basic_module...
分类:
Web程序 时间:
2015-08-01 01:06:37
阅读次数:
219
https://worktile.com/tech/basic/the-worktile-tech-stackhttps://worktile.com/tech/basic/worktile-real-time-noticehttps://github.com/linnovate/meanhttp:...
分类:
Web程序 时间:
2015-08-01 00:47:37
阅读次数:
122
substr(string的成员函数)语法: basic_string substr( size_type index, size_type num = npos );substr()返回本字符串的一个子串,从index开始,长num个字符。如果没有指定,将是默认值 string::npos。这样....
分类:
编程语言 时间:
2015-07-31 10:13:22
阅读次数:
115
压缩、解压缩命令:1.compress/uncompress:压缩格式为Z,文件后缀为.Zcompress/path/to/fileuncompress/path/to/file.Z2.gzip/gunzip/zcat:压缩格式为gz,文件后缀为.gzgzip[OPTION]/path/to/file:,压缩文件保存在被压缩文件的目录,压缩完成后会删除原文件-v|verbose:显..
分类:
系统相关 时间:
2015-07-30 23:45:01
阅读次数:
320