摘要: 转自:http://hi.baidu.com/luanxian/item/17502063629d0d90c4d24968眼科医生建议电脑屏幕不要用白色,因为白色对眼睛的刺激是最大的,最损伤视力,容易得干眼病!眼科医生推荐的颜色是柔和的淡绿色!也有人叫做绿豆沙色。只要稍微设置一下,就能让你电脑上的窗... 阅读全文
posted @ 2014-04-04 12:57 paullam 阅读(808) 评论(0) 推荐(0) 编辑
摘要: 文档购买地址:https://item.taobao.com/item.htm?id=569477423111 1、该文档是本人在运用DevExpress Winform从事开发工作中汇编整理 2、该售价不仅包括文档的当前版本,凡购买者,该文档的所有后续版本更新都无偿提供,不再另行加价,购买者只需要 阅读全文
posted @ 2018-05-10 22:48 paullam 阅读(808) 评论(0) 推荐(0) 编辑
摘要: (一)启用SQL Server身份验证模式安装完SQL Server 2008 R2后,以Windows身份验证方式登录右键点击服务器节点,选择【属性】,选择【安全性】页,单选【SQL Server和Windows身份验证模式】(二)启用用户sa右键点击【安全性】->【登录名】->【sa】,选择【属... 阅读全文
posted @ 2015-06-02 19:47 paullam 阅读(788) 评论(0) 推荐(0) 编辑
摘要: 示例代码: 1 #include 2 #include 3 #include 4 #include 5 #include "json.h" 6 7 void parseJsonString(struct json_object *obj); 8 9 int main(i... 阅读全文
posted @ 2015-05-22 15:19 paullam 阅读(1473) 评论(0) 推荐(0) 编辑
摘要: 版本:json-c-0.9.tar.gz参考:http://blog.csdn.net/mengyafei43/article/details/38494139示例代码: 1 #include 2 #include 3 #include 4 #include 5 #include ... 阅读全文
posted @ 2015-05-22 15:15 paullam 阅读(1790) 评论(0) 推荐(0) 编辑
摘要: SQL Server数据类型System.Data.SqlDbType.NET数据类型intSqlDbType.IntintvarcharSqlDbType.VarCharstringbitSqlDbType.BitbooldatetimeSqlDbType.DateTimeDateTimedeci... 阅读全文
posted @ 2015-05-16 21:49 paullam 阅读(325) 评论(0) 推荐(0) 编辑
摘要: int access(const char *filenpath, int mode);功 能: 确定文件或文件夹的访问权限。mode,要判断的模式在头文件unistd.h中的预定义如下:#define R_OK 4 /* Test for read permission. */#define W_... 阅读全文
posted @ 2014-07-17 10:18 paullam 阅读(362) 评论(0) 推荐(0) 编辑
摘要: file/filetype.c #include "apue.h"intmain(int argc, char *argv[]){ int i; struct stat buf; char *ptr; for (i = 1; i < argc; i++) { printf("%s: ", argv[i]); if (lstat(argv[i], &buf) < 0) { err_r... 阅读全文
posted @ 2014-07-16 23:21 paullam 阅读(239) 评论(0) 推荐(0) 编辑
摘要: lib/setfl.c #include "apue.h"#include voidset_fl(int fd, int flags) /* flags are file status flags to turn on */{ int val; if ((val = fcntl(fd, F_GETFL, 0)) < 0) err_sys("fcntl F_GETFL error"); val... 阅读全文
posted @ 2014-07-16 23:18 paullam 阅读(152) 评论(0) 推荐(0) 编辑
摘要: file/fileflags.c #include "apue.h"#include intmain(int argc, char *argv[]){ int val; if (argc != 2) err_quit("usage: a.out "); if ((val = fcntl(atoi(argv[1]), F_GETFL, 0)) < 0) err_sys("fcntl erro... 阅读全文
posted @ 2014-07-16 23:16 paullam 阅读(246) 评论(0) 推荐(0) 编辑
摘要: mycat/mycat.c#include "apue.h"#define BUFFSIZE 4096intmain(void){ int n; char buf[BUFFSIZE]; while ((n = read(STDIN_FILENO, buf, BUFFSIZE)) > 0) if ... 阅读全文
posted @ 2014-07-16 23:13 paullam 阅读(146) 评论(0) 推荐(0) 编辑