11 2012 档案

摘要:data segment x dw 0 y dw 0 x1 dw 0 y1 dw 0 col dw 0 row dw 1 ser dw 1 data ends stack segment db 20 dup (?) stack ends code segment assume cs:code,ds:data,ss:stack start:mov ax,data mov ds,ax mov ah,1 int 21h and ax,0fh mov x,ax mov ah,1 int 21h and ax,0fh mov y,ax mov cx,y mov ax,640 mov dx,0 div x 阅读全文
posted @ 2012-11-29 18:31 蓬莱仙羽 阅读(127) 评论(0) 推荐(0)
摘要:ctrl+M 最大化编辑窗口ctrl+/ //注释ctrl+shift+P 转至匹配括号windows+up 最大化窗体alt+up 将当前行上移alt+shift+R 重命名Ctrl+1 快速修复(最经典的快捷键,就不用多说了)Ctrl+D: 删除当前行 Ctrl+Alt+↓ 复制当前行到下一行(复制增加)Ctrl+Alt+↑ 复制当前行到上一行(复制增加)Alt+↓ 当前行和下面一行交互位置(特别实用,可以省去先剪切,再粘贴了)Alt+↑ 当前行和上面一行交互位置(同上)Alt+← 前一个编辑的页面Alt+→ 下一个编辑的页面(当然是针对上面那条来说了)Alt+Enter 显示当前选择资源 阅读全文
posted @ 2012-11-27 19:12 蓬莱仙羽 阅读(208) 评论(0) 推荐(0)
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8 阅读全文
posted @ 2012-11-19 13:03 蓬莱仙羽 阅读(113) 评论(0) 推荐(0)
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb23 阅读全文
posted @ 2012-11-19 13:01 蓬莱仙羽 阅读(104) 评论(0) 推荐(0)
摘要:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>图片切换,带标题文字</title><meta http-equiv="X-UA-Compatible&q 阅读全文
posted @ 2012-11-19 12:58 蓬莱仙羽 阅读(177) 评论(0) 推荐(0)
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8 阅读全文
posted @ 2012-11-19 12:56 蓬莱仙羽 阅读(146) 评论(0) 推荐(0)
摘要:using System;using System.Text;using System.Diagnostics;using System.Runtime.InteropServices;namespace PlantsVsZombiesTool{ publicabstractclass Helper { [DllImportAttribute("kernel32.dll", EntryPoint ="ReadProcessMemory")] publicstaticexternbool ReadProcessMemory ( IntPtr hProces 阅读全文
posted @ 2012-11-15 22:14 蓬莱仙羽 阅读(336) 评论(0) 推荐(0)
摘要:use MyDatabasecreate table 学生表(学号 varchar(16) primary key,姓名 varchar(8),性别 char(2) check (性别 IN ('男','女')),出生日期 date,所在系 varchar(20),专业 varchar(20),班号 varchar(10),联系号码 varchar(20),QQ号码 varchar(15),通讯地址 varchar(20))create table 课程表(课程号 varchar(16) primary key,课程名 varchar(30) NOT NULL, 阅读全文
posted @ 2012-11-04 15:16 蓬莱仙羽 阅读(366) 评论(0) 推荐(0)
摘要:static: 静态修饰符1.使用static修饰符声明属于类型本身而不是属于特定对象的静态成员2.如果使用static修饰类,则他的所有成员都必须为静态成员3.使用static修饰的函数,只需要通过类型名称来引用它,不能通过实例来引用静态成员函数readonly:只读访问修饰符1.被readonly修饰的属性只能读取,不能更改属性值public:共有访问修饰符1.公共访问是允许最高的访问级别,能够在一个类中,通过实例化另一个类,然后访问它的成员protected:成员访问修饰符1.实例化派生类,能够通过实例化的派生类访问到基类的成员private:私有访问修饰符1.在别的类中,只能访问共有成 阅读全文
posted @ 2012-11-04 14:42 蓬莱仙羽 阅读(308) 评论(0) 推荐(0)
摘要:<html><head><style>#bg{position:absolute;left:0;top:0;width:100%;height:100%;background:#000;font-size:40px;color:#ccc;text-align:center;}#colorLine{width:400px;}#colorLine div{width:5px;height:2px;float:left;overflow:hidden;}</style></head><body><table id=&quo 阅读全文
posted @ 2012-11-04 14:25 蓬莱仙羽 阅读(168) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Diagnostics;using System.Collections;namespace GEP编程{ class Program { public static void Main(string[] args) { Stopwatch wp = new Stopwatch(); wp.Start(); //创建A-F所对应的0-5索引数字 Hashtable wn = new Hashtable(); 阅读全文
posted @ 2012-11-02 22:12 蓬莱仙羽 阅读(181) 评论(0) 推荐(0)
摘要:在几千条记录里,存在着些相同的记录,如何能用SQL语句,删除掉重复的呢?1、查找表中多余的重复记录,重复记录是根据单个字段(peopleId)来判断 select * from people where peopleId in (select peopleId from people group by peopleId having count(peopleId) > 1)2、删除表中多余的重复记录,重复记录是根据单个字段(peopleId)来判断,只留有rowid最小的记录 delete from people where peopleName in (select peopleNam 阅读全文
posted @ 2012-11-01 19:28 蓬莱仙羽 阅读(150) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Diagnostics;namespace Dictionary测试{ class Program { static void Main(string[] args) { //Hashtable的使用 Hashtable ht=new Hashtable(); ht.Add(10141303, "丁小未"); ht.Add(10141301, "陈立"); Conso 阅读全文
posted @ 2012-11-01 14:37 蓬莱仙羽 阅读(305) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Dictionary测试{ class Program { private const string HXW = "啊阿埃挨哎唉哀皚癌藹矮艾礙愛隘鞍氨咹俺按暗岸胺案肮昂盎凹敖熬翱襖傲奧懊澳芭捌扒叭吧笆疤巴拔跋靶紦耙壩霸罷爸苩柏百擺佰敗拜稗斑癍搬扳般頒板蝂扮拌伴瓣半か絆邦幫梆榜膀綁棒磅蚌鎊傍謗苞胞包褒剝薄雹保堡飽寶菢報暴豹鮑爆杯碑悲卑丠輩褙贔鋇倍狽備憊焙被奔苯夲笨崩繃甭泵蹦迸逼鼻仳鄙筆彼碧蓖蔽畢斃毖幣庇痹 阅读全文
posted @ 2012-11-01 14:22 蓬莱仙羽 阅读(1284) 评论(0) 推荐(0)