摘要: 加载菜单(js)function mkmenu(menus,name,id,parentid,url){ $.each(menus,function(i){ menus[i].children=new Array(); menus[i].parent=-1; ... 阅读全文
posted @ 2015-01-02 08:55 SKY_VIEW 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 1.多线程同步的方法a)entercirticalsection leaveciriticalsectionb)Mutex互斥对象 waitforsingleobject releasemutex使用方法和上面一个类似c)createevent waitforsingleobject seteven... 阅读全文
posted @ 2014-09-03 12:59 SKY_VIEW 阅读(273) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include using namespace std;void finddir(const string& name,_finddata_t* fl){ vector str; long hd=_findfirs... 阅读全文
posted @ 2014-08-28 22:17 SKY_VIEW 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 一、基础1、说明:创建数据库CREATE DATABASE database-name 2、说明:删除数据库drop database dbname3、说明:备份sql server--- 创建 备份数据的 deviceUSE masterEXEC sp_addumpdevice 'disk', '... 阅读全文
posted @ 2014-08-25 11:38 SKY_VIEW 阅读(237) 评论(0) 推荐(0) 编辑
摘要: int main()if elsereturn 0;int main()if elsereturn 0;int main()if elsereturn 0;int main()if elsereturn 0;int main()if elsereturn 0;int main()if elseret... 阅读全文
posted @ 2014-08-23 08:38 SKY_VIEW 阅读(1040) 评论(0) 推荐(0) 编辑
摘要: CODE#include #include #include #include #include using namespace std;struct Point { double x, y;};double cross(const Point &A, const Point &B, const P... 阅读全文
posted @ 2014-08-22 10:34 SKY_VIEW 阅读(491) 评论(0) 推荐(0) 编辑
摘要: 正则匹配实际上可以看做是一种属性匹配,一个字符串中,他的每个字符可以看做是一个实体,字符中间的缝隙也可以看做是实体,他们的属性包括内在属性和关联属性(该属性取决于字符的外部环境),每个属性标记代表的是一个属性集合,小的集合构成大的集合从而形成整体属性。 三个基本操作 1.regex_match判断目 阅读全文
posted @ 2014-08-17 16:59 SKY_VIEW 阅读(4666) 评论(0) 推荐(0) 编辑
摘要: file operationAPI functionsHANDLE CreateFile(lpFileName,dwDesiredAccess,dwShareMode,lpSecurityAttributes,dwCreateDisposition,dwFlagsAndAttributes,hTem... 阅读全文
posted @ 2014-08-10 11:35 SKY_VIEW 阅读(453) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h"#include #include #include #include #include #include #include using namespace std;class manager;class employeeInfo;manager *gMgr;s... 阅读全文
posted @ 2014-08-09 11:38 SKY_VIEW 阅读(183) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include using namespace std;int main(int argc, char* argv[]){string s("中航光电系空方克星股市震荡的安全港湾或引业绩突增");vector vs;for(unsigned i... 阅读全文
posted @ 2014-08-06 14:43 SKY_VIEW 阅读(197) 评论(0) 推荐(0) 编辑
摘要: struct tm;这是一个结构体,包括了时间的各个属性年月日,时分秒 time(time_t * t);获取从1900年到现在经过的毫秒数,或者也可以这么用time_t t=time(NULL); localtime(&tt);其中tt为time_t类型的变量,localtime返回一个指向tm类 阅读全文
posted @ 2014-08-06 11:36 SKY_VIEW 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 一个英文缩写cvs = concurrent version systemcli = common language infrastructure 阅读全文
posted @ 2014-08-06 10:03 SKY_VIEW 阅读(180) 评论(0) 推荐(0) 编辑
摘要: +全部展开 +全部展开 阅读全文
posted @ 2014-07-24 08:14 SKY_VIEW 阅读(405) 评论(1) 推荐(0) 编辑
摘要: 1.总起来就四个字CURD C=create U=update R=read D=delete 对应语句就是insert into | update | select | delete 2.注意防止sql injection txtNam = getRequestString("CustomerNa 阅读全文
posted @ 2014-07-15 19:14 SKY_VIEW 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 1.通道 意味着我们同过不同的角度来看图像,可以得到不同的图像信息,PS是以灰度图像来表现这种信息的强弱。 我们能看到什么取决于我们的视角。任何灰度图像都可以按照不同的规则来构成彩色图像。 通道除了能存放颜色信息,还能存放选择信息。 2.路径 可以转换为选区,也可以转换为矢量蒙板。与矢量蒙版对应的是 阅读全文
posted @ 2014-07-01 08:06 SKY_VIEW 阅读(653) 评论(0) 推荐(0) 编辑
摘要: 1.子元素选择两种 h1 strong{color:red}意思是所有后代只要是strong就变成红色 h1>strong{color:red}效果同上但只对第一代后代元素有效 相邻兄弟元素 h1 +strong{color:red} 2. 3.使用background_position属性来提取子 阅读全文
posted @ 2014-06-22 08:45 SKY_VIEW 阅读(1044) 评论(0) 推荐(0) 编辑
摘要: 最主要的作用就是把原向量进行线性扩展的时候,全部用矩阵乘法来完成。 阅读全文
posted @ 2014-06-10 15:07 SKY_VIEW 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 对给定函数f(t),g(t)拉普拉斯变换得将上面二式相乘,并建立下面的等式这意味着两个函数分别进行拉普拉斯变换的结果相乘等于某个未知函数h(t)进行一次拉普拉斯变换的结果,现在问题变成了求解h(t),过程如下:上面推理过程,主要考虑到定积分可以看作是数列求和的极限,比如两个数列相乘可以进行如下转化: 阅读全文
posted @ 2014-03-25 11:38 SKY_VIEW 阅读(2577) 评论(0) 推荐(0) 编辑
摘要: 上面就是傅里级数的一般形式,经过定积分运算求得系数,我们实际上得到了一个积分方程,它的解是一个很大的解集,而且求解已经由前辈完成,这里不包括这部分的内容。 阅读全文
posted @ 2014-03-20 15:11 SKY_VIEW 阅读(1807) 评论(0) 推荐(0) 编辑
摘要: 泰勒级数的样式并不难理解,简而言之,就是用一个多项式函数来表达另一个函数,我们需要这样的多项式函数,因为有些函数的处理并不如多项式函数来得方便。我设想了下面的一个构建过程:以x0为基准点来设计这个函数,我们当然希望新的多项式函数和函数f(x)在x0处所具有的性质保持一致,甚至完全一致。如果f(x)在x0处具有的n阶导数和即将构建的多项式函数相同(也就是说二者函数值的变化趋势相同),那么新函数和f(x)在x0的微小邻域内就会有很好的贴合(尽管并不完全一致),因此构建这样一个函数符合我们的初衷。那么如何让f(x)在x0处具有的n阶导数和即将构建的多项式函数的相应导数相等呢?可以这样想:1.f(x0 阅读全文
posted @ 2014-03-15 13:32 SKY_VIEW 阅读(842) 评论(0) 推荐(0) 编辑