- 博客(9)
- 资源 (1)
- 收藏
- 关注
转载 getopt函数简介
getopt()函数用来解析命令行参数,该函数的声明如下int getopt(int argc,char * const argv[ ],const char * optstring);
2014-07-30 22:11:43
677
转载 SQL DML 和 DDL
可以把 SQL 分为两个部分:数据操作语言 (DML) 和 数据定义语言 (DDL)。SQL (结构化查询语言)是用于执行查询的语法。但是 SQL 语言也包含用于更新、插入和删除记录的语法。查询和更新指令构成了 SQL 的 DML 部分:SELECT - 从数据库表中获取数据UPDATE - 更新数据库表中的数据DELETE - 从数据库表中删除数据INSERT INTO
2014-07-18 10:18:15
435
原创 C#中readonly关键字与const关键字的区别
readonly 关键字不同于const关键字。const类型字段只能在声明字段的时候被初始化,而readonly字段既可以在声明的时候被初始化,又可以在构造函数中初始化。因此,readonly字段能够根据构造函数的使用拥有不同的值。并且,const字段是编译时常量,readonly字段能做运行时常量。
2014-07-17 09:24:10
483
原创 MFC中设置EDIT控件中光标显示在字符串末尾的方法
CEdit * input=(CEdit*)GetDlgItem(IDC_EDITTEXT);CString s;GetDlgItemText(IDC_EDITTEXT,s);input->SetSel(s.GetLength(),s.GetLength(),TRUE);input->SetFocus();
2014-07-16 21:55:10
2873
1
转载 NonComVisibleBaseClass异常的处理办法
NonComVisibleBaseClass was detectedMessage: A QueryInterface call was made requesting the class interface of COM visible managed class 'MS.Internal.AutomationProxies.WindowsEditBox'. However since t
2014-04-08 10:33:52
2948
转载 什么是Naive algorithm
Naive algorithmFrom PEGWikiAn algorithm is said to be naive when it is simple and straightforward but does not exhibit a desirable level ofefficiency (usually in terms of time, but also
2014-03-10 22:33:39
2099
转载 WM_QUERYENDSESSION消息
MSDN:The WM_QUERYENDSESSION message is sent when the user chooses to end the session or when an application calls one of the system shutdown functions. If any application returns zero, the sessi
2014-03-09 10:53:28
873
深入理解计算机系统.pdf
2014-02-04
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人