使用typedef语句定义数组类型 1. 一维数组类型的定义格式 typedef []; 例如: (1) typedef int vector[10]; (2) typedef char strings[80]; (3) typedef short int array[N]; 第一条语句定义了一个元...
分类:
其他好文 时间:
2014-08-06 01:46:10
阅读次数:
256
1.设置Cookie ①.setcookie(name,value,expire,path,domain,secure)参数描述name必需。规定 cookie 的名称。value必需。规定 cookie 的值。expire可选。规定 cookie 的有效期。path可选。规定 cookie 的服....
分类:
Web程序 时间:
2014-08-06 01:37:30
阅读次数:
289
这是缩略图模版采用html5设计,仿win8菜单特效,扁平化处理下载地址:精仿win8风格网站模版
What about the callback in Unigine?Any function from system, world or editor scripts can be called in a C++ code. UnigineScript functions that are cal...
分类:
其他好文 时间:
2014-08-06 01:28:50
阅读次数:
313
//冒泡排序 #include #define N 100 void sort(int n,int a[]) { int i,j,t ; for(i=0;ia[j+1]) { t=a[j] ;a[j]=a[j+1] ;a[j+1]=t ;} } int main ( )...
分类:
其他好文 时间:
2014-08-06 01:19:31
阅读次数:
338
#include<stdio.h>
#include<string.h>
#define?ON?1
#define?OFF?0
int?main(void)
{
????int?spoon,?chopstick,?sucker,?cup;
????spoon?=?chopstick?=?sucker?=?cup?=?OFF;
????...
分类:
其他好文 时间:
2014-08-05 23:14:40
阅读次数:
512
化学螺栓由化学胶管、螺杆、垫圈及螺母组成。
螺杆、垫圈、螺母(六角)一般有镀锌钢和不锈钢两种(也可按要求热镀锌)。
化学胶管(或用塑料包装的药剂管)含有反应树脂、固化剂和石英颗粒。
化学螺栓的有关参数
钻孔深度:由锚栓类型及尺寸来决定需要的钻孔深度,除少数例外..
分类:
其他好文 时间:
2014-08-05 23:12:30
阅读次数:
476
Ubuntu下默认没有安装dos2unix工具,而且也没有一个叫这个名字的工具(我在solaris里用过dos2unix,不知道为啥Ubuntu没有)。但是有一个替代工具——tofrodos , 下面就说一下它的安装和使用。当然还是apt安装啦。(1)安装tofrodossudo apt-get i...
分类:
其他好文 时间:
2014-08-05 22:29:00
阅读次数:
258
经过一番折腾,又开始重新拾起C++。突然发现自己以前很多东西写的都很不规范,从最起码的代码层面也没有一个标准的格式。无规矩不成方圆,因此强迫自己要重视代码的编码格式。Google的C++代码规范很具有参考性,在此推荐一下,地址:http://pan.baidu.com/s/16dFKM 在阅读...
分类:
编程语言 时间:
2014-08-05 22:23:10
阅读次数:
237