#include<windows.h>
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
#defineID_TIMER1
LRESULTCALLBACKWindowProc(HWNDhwnd,UINTmsg,WPARAMwParam,LPARAMlParam);//声明回调函数
intWINAPIWinMain(HINSTANCEhInstance,HINSTANCEhPrevInstanc..
分类:
编程语言 时间:
2014-05-05 12:40:55
阅读次数:
479
#include<stdio.h>
#include<windows.h>
#include<stdlib.h>
char*ReplaceString(constchar*srcStr,constchar*src,constchar*dest)//替换字符串,获得文件路径
{
char*ptr;
intlen=strlen(srcStr);
ptr=(char*)malloc(sizeof(char)*len+1);
strcpy(ptr,srcSt..
分类:
编程语言 时间:
2014-05-05 12:29:50
阅读次数:
422
<!doctypehtml>
<html>
<head>
<metacharset="utf-8"/>
<scripttype="text/javascript"src="jquery.js"></script>
</head>
<body>
<imgsrc="8fbf0884jw1drfmvfrhrhj.jpg"width="300"height="300"/>
<buttonid="btn1..
分类:
其他好文 时间:
2014-05-05 12:19:01
阅读次数:
300
1.functionlastStart(pageIndex,size){for(i=pageIndex-1;i>=0;i--){if(i%size==0){returni+1;}}}functionfirstEnd(pageIndex,totalPage,size){for(i=pageIndex;...
分类:
Web程序 时间:
2014-05-05 10:40:31
阅读次数:
497
mysql密码丢失后,在mysql命令行下执行如下命令,即可将root用户密码清空:
mysqld_safe --skip-grant-tables&mysql修改密码 mysql修改,可在mysql命令行执行如下: mysql -u
root mysql mysql> UPDATE use...
分类:
数据库 时间:
2014-05-05 10:34:48
阅读次数:
366
deletefromtesttableawhere(a.testcontent)in(selecttestcontentfromtesttableGROUPBYtestcontenthavingcount(*)>1)andseqidnotin(selectmin(seqid)fromtesttablegroupbytestcontenthavingcount(*)>1)
分类:
数据库 时间:
2014-05-04 17:36:38
阅读次数:
314
汇编指令:MOV的作用是往某个寄存器中存入数值。格式:mov寄存器名,数值数值-->寄存器mov寄存器A,存器寄BB-->APS:必须前后位数匹配,如:movah,bx;errorahis8bit,bxis16bitmovah,bh;rightahandbhallis8bitmovcx,dx;rightcxanddxallis16bit---------------------------..
分类:
其他好文 时间:
2014-05-04 17:29:45
阅读次数:
329
问题:Writeaniteratorfromtosuchthatthenexttwoloopsbecomeequivalent:foriinfromto(n,m)<body>endfori=n,m<body>endCanyouimplementitasastatelessiterator?解答:functioniter(m,i)i=i+1--控制变量if(i<=m)thenreturni,melsereturnnilendendfunctionfromto(n,m..
分类:
其他好文 时间:
2014-05-04 17:24:34
阅读次数:
374
1.关闭数据库SYS@PROD>shutdownimmediateDatabaseclosed.Databasedismounted.ORACLEinstanceshutdown.2.退出SYS@PROD>exitDisconnectedfromOracleDatabase11gEnterpriseEditionRelease11.2.0.4.0-64bitProductionWiththePartitioning,OLAP,DataMiningandRealApplicationT..
分类:
数据库 时间:
2014-05-04 17:09:02
阅读次数:
460
在执行该命令时出现下列错误SYS@PROD>altersystemsetUTL_FILE_DIR=‘/home/oracle‘,‘/home/oracle/temp‘,‘/home/oracle/scripts‘scope=spfile;altersystemsetUTL_FILE_DIR=‘/home/oracle‘,‘/home/oracle/temp‘,‘/home/oracle/scripts‘scope=spfile*ERRORatline1:ORA-32001:wr..
分类:
其他好文 时间:
2014-05-04 17:08:06
阅读次数:
386