>_____ 2 3 #ifndef __DISPLAY_H__ 4 #define
__DISPLAY_H__ 5 6 #define DataPort P0 //定义数据端口 程序中遇到DataPort 则用P0 替换 7 sbit
LATCH1=P2^2;//定义锁存使能端口 段锁存 8 .....
分类:
其他好文 时间:
2014-05-06 00:40:48
阅读次数:
407
root@localhost > show slave
status\G*************************** 1. row ***************************
Slave_IO_State: Waiting for master to...
分类:
其他好文 时间:
2014-05-06 00:14:48
阅读次数:
371
题意 :求最大子段和 并且输出起始位置#includeusing namespace std;int
main(){int N,n,a[100001],first,last; cin>>N; for(int i=1;i>n; for(int
j=1;j>a[j]; int max=-...
分类:
其他好文 时间:
2014-05-06 00:12:25
阅读次数:
301
题目链接很简单的递推,但是写代码的过程中,犯了一个严重的错误,就是我用unsigned
int型变量>= 0 作为循环条件(而且是降序)的时候,出现了问题。附上代码: 1 class Solution { 2 public: 3 int
minimumTotal(vector > &tria...
分类:
其他好文 时间:
2014-05-06 00:10:57
阅读次数:
335
本实验采用Spring中配置Action,Spring代理生成Struts的类-->Dept.javapackage
cn.itcast.domain;public class Dept { private Integer id; private String deptno;
private Str...
分类:
其他好文 时间:
2014-05-06 00:00:14
阅读次数:
333
Given a binary tree containing digits from 0-9
only, each root-to-leaf path could represent a number.An example is the
root-to-leaf path 1->2->3 which...
分类:
其他好文 时间:
2014-05-05 23:55:36
阅读次数:
407
Window --> Preferences --> General -->
Appearance --> Colors and Fonts --> Basic --> Text Font --> Change
分类:
系统相关 时间:
2014-05-05 23:44:47
阅读次数:
457
输入子系统在内核中的位置:/driver/input
drivers/input/input.c: input_init ---> err = register_chrdev(INPUT_MAJOR,
"input", &input_fops); static const struct file_o...
分类:
其他好文 时间:
2014-05-05 23:34:42
阅读次数:
516
优先级类别运算符1基本(x) x.y f(x) a[x] x++ x――new typeof
sizeof checked unchecked2单目+ - ! ~ ++x ――x (T)x3乘法与除法* / %4加法与减法+
-5移位运算>6关系运算 =7条件等= = ! =8位逻辑与&9位逻辑异或...
分类:
其他好文 时间:
2014-05-05 23:34:11
阅读次数:
359
1.[root@rusky ]# vi list
#如果testfile不存在,则vi会自动创建一个名为testfile的文件,并在Vi打开该文件等待用户输入内容。2.[root@rusky ]# ls -l
>listfile #利用重定向,将ls -l 的执行结果输出到新文件listfile.....
分类:
其他好文 时间:
2014-05-05 23:21:35
阅读次数:
381