摘要: Berkeley DB Programmer's Reference Guidehttp://docs.oracle.com/cd/E17076_02/html/programmer_reference/index.htmlOracle Berkeley DB Downloadshttp://www... 阅读全文
posted @ 2015-03-28 11:51 StuJnX6ry 阅读(141) 评论(0) 推荐(0) 编辑
摘要: K&R C style:#include int add(x, y)int x, y;{ return x + y;}int main(){ int a = 2; int b = 3; int c = add(a, b); printf("%d\n", c); r... 阅读全文
posted @ 2015-03-28 11:46 StuJnX6ry 阅读(464) 评论(0) 推荐(0) 编辑
摘要: 1:新建一个Win32控制台项目,然后选择空项目2:新建一个stdafx.h头文件,然后再新建一个stdafx.cpp文件,再把#include"stdafx.h"语句写在里面3:新建一个main.cpp文件,在第一行写上“#include"stdafx.h”然后把主函数写上4:设置项目属性,选择“... 阅读全文
posted @ 2015-03-27 11:34 StuJnX6ry 阅读(299) 评论(0) 推荐(0) 编辑
摘要: A simple IOCP Server/Client Classhttp://www.codeproject.com/Articles/10330/A-simple-IOCP-Server-Client-ClassMir3http://xiasonghuai.blog.sohu.com/entry... 阅读全文
posted @ 2015-03-03 18:52 StuJnX6ry 阅读(144) 评论(0) 推荐(0) 编辑
摘要: Windows Common ControlsWin32 API中本身提供了Windows下许多常用的控件,称为Common Controls。 这些控件与Button、ComboBox等控件不同,不是在user32.dll中实现,而是在Comctrl32.dll中实现,相关的C++原型声明在com... 阅读全文
posted @ 2015-02-16 23:28 StuJnX6ry 阅读(726) 评论(0) 推荐(0) 编辑
摘要: 姚冬,中老年程序员于龙、沈忱、王璐铭等人赞同GUI库可大可小,大可以是Qt WPF这种数以百万行计的代码,小的可以是WTL这种只有几个头文件。对一般人来说,不要奢望能做出大GUI库,写一个小一点的,满足自己的需求,针对某类应用就好了。我曾经遇到一个需求,需要一个小型的GUI库来写个安装程序。安装程序... 阅读全文
posted @ 2015-02-07 14:32 StuJnX6ry 阅读(13546) 评论(1) 推荐(1) 编辑
摘要: Windows Sockets 2.0: Write Scalable Winsock Apps Using Completion Portswindows socket 2.0:用completion ports写可伸缩的winsock程序Anthony Jones and Amol Deshpa... 阅读全文
posted @ 2015-02-03 22:21 StuJnX6ry 阅读(472) 评论(0) 推荐(0) 编辑
摘要: WSAAsyncSelect functionTheWSAAsyncSelectfunction requests Windows message-based notification of network events for a socket.SyntaxC++int WSAAsyncSelec... 阅读全文
posted @ 2015-01-23 23:41 StuJnX6ry 阅读(301) 评论(0) 推荐(0) 编辑
摘要: Directorylookupforthefile"xxx.mdf"failedwiththeoperatingsystemerror2(系统找不到指定的文件。).reason:sql2005以后禁用了xp_cmdshell存储过程solution:sp_configure 'show advanc... 阅读全文
posted @ 2015-01-21 12:24 StuJnX6ry 阅读(554) 评论(0) 推荐(0) 编辑
摘要: CREATE LOGIN [sa] WITH PASSWORD = '888';ALTER LOGIN [sa] ENABLEGOALTER LOGIN [sa] WITH PASSWORD = '888';GO 阅读全文
posted @ 2015-01-20 22:00 StuJnX6ry 阅读(283) 评论(0) 推荐(0) 编辑