int dis_data = 32769; if( dis_data > 0x7fff) dis_data -= 0xffff; printf(“%d\n”,dis_data); 上面的dis_data 输出值会是多少? 初一看可能还看不出来,那就计算一下: 0x7fff转换为十进制为 32767,...
分类:
其他好文 时间:
2014-06-21 13:29:14
阅读次数:
247
windows下MYSQL自动备份批处理2011-05-04 09:16:45|分类:mysql|举报|字号订阅按系统时间进行备份注意mysql安装路径中如果有空格。就要把,.bat文件拷到相应目录下面。1.按系统时间进行直接拷贝net stop mysqlxcopy data\*.* d:\bon...
分类:
数据库 时间:
2014-06-21 12:44:32
阅读次数:
239
先Reset Vector EPCS Exception Vector Ram工程Program memory ,Read-only data memory...均为RAM.Hardware Image选择 EPCS编译.编译:先把POF文件下载到EPCS中.放到最底层后通过FLASH PROGRA...
分类:
移动开发 时间:
2014-06-21 12:33:42
阅读次数:
302
常规配置quartz可以参考我的另外一篇博文:http://www.cnblogs.com/yangzhilong/p/3349116.htmlspring配置文件里增加:命令空间:http://www.springframework.org/schema/task http://www.spr.....
分类:
编程语言 时间:
2014-06-21 11:32:46
阅读次数:
243
链表快速排序 大致思想是通过一个指针数组转化为常规数组快速排序,最后再重新梳理链表。 #include #include using namespace std;typedef struct NODE{ int data; NODE* next; NODE(int _data) : data(_da...
分类:
其他好文 时间:
2014-06-21 10:01:47
阅读次数:
210
直接插入排序#include typedef int Keytype;typedef struct{ Keytype key; int data;}RecType;void InsertSort(RecType R[],int n){ int i; int j; RecType temp; f...
分类:
其他好文 时间:
2014-06-21 09:52:18
阅读次数:
223
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the valu...
分类:
其他好文 时间:
2014-06-21 09:18:50
阅读次数:
263
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.Linq;usi...
分类:
其他好文 时间:
2014-06-21 08:14:06
阅读次数:
176
此系列博客皆为学习Spring Batch时的一些笔记;Spring Batch Job在运行时有很多元数据,这些元数据一般会被保存在内存或者数据库中,由于Spring Batch在默认配置是使用HSQLDB,也就是说在Job的运行过程中,所有的元数据都被储存在内存中,在Job结束后会随着进程的结束...
分类:
编程语言 时间:
2014-06-21 08:01:08
阅读次数:
429
客户端代码function login(type) { $.ajax({ type: "post", url: "logindo.aspx", data: { user: $("#name").val(),//对应的值 ...
分类:
其他好文 时间:
2014-06-21 07:36:58
阅读次数:
172