摘要: TP鼠标双击范围主要是修改Registry中的HKEY_CURRENT_USER\Control Panel\Mouse里面的两个参数 DoubleClickHeight跟DoubleClickWidth 当出现TP双击没办法正常运作时可以尝试修改上面两项. Win 7预设为4,可以改成100,手动 阅读全文
posted @ 2016-06-15 01:00 Climber丶 阅读(374) 评论(0) 推荐(0)
摘要: Linux read/write fread/fwrite两者区别 1,fread是带缓冲的,read不带缓冲. 2,fopen是标准c里定义的,open是POSIX中定义的. 3,fread可以读一个结构.read在linux/unix中读二进制与普通文件没有区别. 4,fopen不能指定要创建文 阅读全文
posted @ 2016-06-15 00:59 Climber丶 阅读(2153) 评论(0) 推荐(0)
摘要: //Linux字符串函数集: 头文件:string.h 函数名: strstr 函数原型:extern char *strstr(char *str1, char *str2); 功能:找出str2字符串在str1字符串中第一次出现的位置(不包括str2的串结束符)。 返回值:返回该位置的指针,如找 阅读全文
posted @ 2016-06-15 00:47 Climber丶 阅读(2153) 评论(0) 推荐(0)
摘要: 1.access函数 功能描述:检查调用进程是否可以对指定的文件执行某种操作. 用法: #include <unistd.h> #include <fcntl.h>int access(const char *pathname, int mode); 参数: pathname: 需要测试的文件路径名 阅读全文
posted @ 2016-06-15 00:46 Climber丶 阅读(1346) 评论(0) 推荐(0)