01 2012 档案
Linux下vi的使用
摘要:进入vi的命令 vi filename :打开或新建文件,并将光标置于第一行首 vi + filename :打开文件,并将光标置于最后一行首 vi -r filename :在上次正用vi编辑时发生系统崩溃,恢复filename 移动光标类命令[/b] n+:光标下移n行 n-:光标上移n行 H :光标移至屏幕顶行 M :光标移至屏幕中间行 L :光标移至屏幕最后行 0:(注意是数字零)光标移至当前行首 $:光标移至当前行尾 插入文本类命令 i :在光标前 I :在当前行首 o:在当前行之下新开一行 O:在当前行之上新开一行 删除命令 ndw或ndW... 阅读全文
posted @ 2012-01-29 18:37 xnfriday 阅读(2128) 评论(0) 推荐(1)
C++ 标准库之algorithm
摘要:The header<algorithm>defines a collection of functions especially designed to be used on ranges of elements.A range is any sequence of objects that can be accessed through iterators or pointers, such as an array or an instance of some of theSTL containers. Notice though, that algorithms operat 阅读全文
posted @ 2012-01-19 00:08 xnfriday 阅读(402) 评论(0) 推荐(0)
C++标准库函数
摘要:c++程序通常可以调用标准c++库中的大量函数。这些函数完成一些基本的服务,如输入和输出等,同时也为一些经常使用的操作提供了高效的实现代码。这些函数中含有大量的函数和类定义,以帮助程序员更好地使用标准c++库。标准c++库包含以下内容:<algorithm>,<bitset>,<complex>,<deque>,<exception>,<fstream>,<functionl>,<iomanip>,<ios>,<iosfwd>,<iostream>,<ist 阅读全文
posted @ 2012-01-19 00:07 xnfriday 阅读(2862) 评论(0) 推荐(1)
My97DatePicker 日期选择器,使用的时候,如果IE6下打开使用该控件的html会出错 “无法打开站点,已终止操作”
摘要:ie6 Internet Explorer无法打开站点,已终止操作 ie8正常解决方法<SCRIPT LANGUAGE="JavaScript" src="<%=path%>/pub/js/myDateControler/WdatePicker.js" defer="defer"></Script>添加属性: defer="defer"//网上解释原因:(1)在appendChild或者innerHTML操作处判断document.readyState=="comple 阅读全文
posted @ 2012-01-13 11:27 xnfriday 阅读(819) 评论(0) 推荐(0)