platform_device:#include #include #include #include #include #include #include #include #define DEVICE_NAME "ok6410_plat_btn"/*平台资源的定义,按键中断*/static st...
分类:
其他好文 时间:
2014-11-19 23:46:02
阅读次数:
255
#include #include #include #include #include #include #include #include #include struct mem_dev{ unsigned long size; char *data; struct cdev cdev;};st...
分类:
其他好文 时间:
2014-11-19 23:37:39
阅读次数:
200
1. 初始化 1.1 array()枚举成员 $products?=?array(‘Tires‘,?‘Oil‘,?‘Spark?Plugs‘);
$prices?=?array(‘Tires‘?=>?12,?‘Oil‘?=>?7.5,?‘Spark?Plugs‘?=>?32); 1.2 range()生成 ???? range(st...
分类:
编程语言 时间:
2014-11-19 22:26:43
阅读次数:
258
在 C++ 继承模型中, 一个derived class object 所表现出来的东西, 是其自己的的 members 加上其 base class members 的总和。 至于 derived class members 和 base class members 的排列次序并未在 C++ St...
分类:
其他好文 时间:
2014-11-19 18:15:53
阅读次数:
242
11月15日晚上从旧金山乘坐维京航空的960次航班去圣迭戈。到达圣迭戈机场已经天黑了。因为白天在车里吹了冷风,飞机上又一直和旁边的一个大哥聊天没有休息,下了飞机就感到头疼不舒服。可能是感冒加累的缘故。机场门口坐公交到酒店附近,又走了二十多分钟才到酒店:位于Ash St的Days Inn。酒店每晚99...
分类:
其他好文 时间:
2014-11-19 14:05:38
阅读次数:
203
/**
?*?@brief?Codeforces?Round?#277.5?(Div.?2)?c
?*?@file?c.c
?*?@author?面码
?*?@created?2014/11/19?11:47
?*?@edited??2014/11/19?11:47
?*?@type?greedy
?*/
#include?<st...
分类:
其他好文 时间:
2014-11-19 12:44:12
阅读次数:
229
ref:http://www.gartner.com/technology/reprints.do?id=1-1YAXV15&ct=140728&st=sb
分类:
其他好文 时间:
2014-11-19 10:46:02
阅读次数:
244
不能用递归,被玩烂了的方法不一定是好方法。看看我这个?来自模电课上的随笔。 1 #include "iostream" 2 int main(void) 3 { 4 int a = 1; 5 int b = 1; 6 std::cout << a <<"\n"<<b<< st...
分类:
其他好文 时间:
2014-11-19 07:18:49
阅读次数:
176
进度条赋值 1 public void SetProgressValue(int value) 2 { 3 if (this.InvokeRequired) 4 { 5 Action st...
顺序栈是利用一组地址连续的储存单元依次存放栈顶到栈底的数据元素,同时,还必须附加一个指针top(栈顶指针),来动态储存栈顶元素在顺序战中的位置。(通常,top=-1表示空栈)储存结构如下:#define Stack_Size 50//设栈中的元素为50 typedef struct { St...
分类:
其他好文 时间:
2014-11-17 20:54:41
阅读次数:
236