02 2010 档案

摘要:2007-07-03 23:54<html><body OnLoad="drop(400)">玄魂从天而降拉!!!!!!!!!!<script>function drop(n) {if(self.moveBy){ self.moveBy (0,-900); for(i = n; i > 0; i--){ self.moveBy(0,3);self.move... 阅读全文
posted @ 2010-02-03 10:22 玄魂 阅读(384) 评论(0) 推荐(0) 编辑
摘要:查看文章写新文章2007-07-06 15:49<html><head><title>时钟</title><SCRIPT language=javascript><!--pX=400;pY=200obs = new Array(13)function ob () {for (i=0; i<13; i++) { if (docu... 阅读全文
posted @ 2010-02-03 10:13 玄魂 阅读(688) 评论(0) 推荐(0) 编辑
摘要:2007-08-16 00:13#include<iostream>using namespace std;int main(){int n,m;unsigned int mask = 32768;cin>>n;for(int i=0;i<=15;i++){m = (n&mask);if(m>0)cout<<"1";elsecout<&... 阅读全文
posted @ 2010-02-03 10:10 玄魂 阅读(3090) 评论(0) 推荐(0) 编辑
摘要:问题:今有邮箱150个,按序编号。全部关闭。邮递员从二号开始一次将2的倍数的邮箱打开,然后数倍数为3的邮箱,已经打开的关闭,已关闭的打开。依次操作倍数为4,5,6,。。。。。。150为止。输出最后关闭的邮箱号码。 阅读全文
posted @ 2010-02-03 10:09 玄魂 阅读(484) 评论(0) 推荐(0) 编辑
摘要:2007-09-12 11:14#include<iostream>using namespace std;#include <math.h>void outPrime(int n){int *numberAll = new int[n];for(int i=1;i<n;i++)numberAll[i] = i+1;for(int m=1;m<sqrt(n);m... 阅读全文
posted @ 2010-02-03 10:07 玄魂 阅读(2040) 评论(1) 推荐(0) 编辑
摘要:2007-09-13 21:05//接收一个字符串,给每个单词加上双引号,将其中的"no"替换成"yes"// 不区分大小写using System;namespace ConsoleApplication1{/// <summary>/// Class1 的摘要说明。/// </summary>class Class1{ /// <summary> /// 应... 阅读全文
posted @ 2010-02-03 10:06 玄魂 阅读(460) 评论(0) 推荐(0) 编辑
摘要:2007-09-12 16:42/*实现最大为300位的大整数加法,输入数3位一节,以‘,’隔开,以‘b’结尾。如123,456b*/#include<iostream>#include<string>using namespace std;int main(){int a[101];int b[101];for(int l=... 阅读全文
posted @ 2010-02-03 10:05 玄魂 阅读(2291) 评论(0) 推荐(0) 编辑
摘要:2007-09-15 17:26//要求连续输入五个大写字母,若有错误,提示信息并重新输入using System;class BigT{static void Main(){ Console.WriteLine("请输入五个大写字母"); String s = Console.ReadLine(); char []array = s.ToCharArray(); if(array.Length&... 阅读全文
posted @ 2010-02-03 10:04 玄魂 阅读(278) 评论(0) 推荐(0) 编辑
摘要:2007-09-25 14:57using System;namespace BubbleSorter{/// <summary>/// Class1 的摘要说明。/// </summary>public class BubbleSorter{ public void Sort(int[] list) { int i,j,temp; bool done = false; j... 阅读全文
posted @ 2010-02-03 10:03 玄魂 阅读(343) 评论(0) 推荐(0) 编辑
摘要:2007-11-22 16:05using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System.Net;namespace WindowsApplication2{/// &... 阅读全文
posted @ 2010-02-03 10:02 玄魂 阅读(1413) 评论(0) 推荐(0) 编辑
摘要:2007-11-22 16:07using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System.Net.Sockets;using System.Net;using Syst... 阅读全文
posted @ 2010-02-03 09:59 玄魂 阅读(1699) 评论(0) 推荐(0) 编辑
摘要:2007-11-22 16:10//广播数据包,服务端using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System.Net.Sockets;using System.Net... 阅读全文
posted @ 2010-02-03 09:57 玄魂 阅读(2649) 评论(0) 推荐(0) 编辑
摘要:2007-11-22 21:08//SeqList.hclass SeqList{protected:DataType *list;int maxsize;int size;public:SeqList(int max=0);~SeqList(void);int Size(void)const;void Insert(int i,const DataType& item);DataType... 阅读全文
posted @ 2010-02-03 09:55 玄魂 阅读(399) 评论(0) 推荐(0) 编辑
摘要:2008-03-09 22:07//program.csusing System;using System.Collections.Generic;using System.Windows.Forms;namespace DriveInfo_GetDrives{ static class Program { /// <summary> /// 应用程序的主入口点。 /// </s... 阅读全文
posted @ 2010-02-03 09:51 玄魂 阅读(1480) 评论(0) 推荐(0) 编辑
摘要:邮包计费程序 (多分支程序设计),2、捉拿肇事司机(循环结构)3.二分法查找 阅读全文
posted @ 2010-02-03 09:50 玄魂 阅读(5063) 评论(0) 推荐(0) 编辑
摘要:2008-04-10 13:59/*1、求两个正整数的最大公约数与最小公倍数【提示】:(1)求两个非负正数m和n(要求m>n)的最大公约数可以使用辗转相除法。其算法描述为:1)m除以n得到的余数为r(0<=r<n);2)若r=0则算法结束,n为最大公约数。否则转3);3)m=n,n=r,转1);*/using System;namespace ConsoleApplication... 阅读全文
posted @ 2010-02-03 09:47 玄魂 阅读(3694) 评论(0) 推荐(1) 编辑
摘要:2008-04-10 14:35/*实现方阵转置 【提示】:该方法应该有两个参数,一个是要转置的方阵,另一个是方阵的阶数N,方阵的转置其实就是将行变成列,将列变成行。*/using System;namespace ConsoleApplication3{/// <summary>/// Class1 的摘要说明。/// </summary>class Class1{ //... 阅读全文
posted @ 2010-02-03 09:44 玄魂 阅读(333) 评论(0) 推荐(0) 编辑
摘要:2008-04-10 15:35using System;using System.Collections.Generic;using System.Text;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { string str = Console.ReadLine(); split(... 阅读全文
posted @ 2010-02-03 09:43 玄魂 阅读(2458) 评论(0) 推荐(0) 编辑
摘要:2008-04-10 15:55using System;using System.Collections.Generic;using System.Text;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { Console.WriteLine("请输入最大数n"); int n = C... 阅读全文
posted @ 2010-02-03 09:42 玄魂 阅读(953) 评论(0) 推荐(0) 编辑
摘要:2008-06-06 16:18最近安装了 xp sp3 ,装完之后发现移动硬盘竟然不能识别了.于是想到把sp2中的驱动换回来的方法.在c:\windows\driver cache\i386\sp2 中将所有 usb的驱动提取出来,替换c:\windows\system32\drivers中同名文件即可. 阅读全文
posted @ 2010-02-03 09:40 玄魂 阅读(575) 评论(0) 推荐(0) 编辑
摘要:2008-06-29 20:49using System;using System.Collections.Generic;using System.Text;using System.Threading;namespace 委托的异步调用{ public delegate int DelegateClass(out DateTime start,out DateTime stop);//定义委托... 阅读全文
posted @ 2010-02-03 09:37 玄魂 阅读(224) 评论(0) 推荐(0) 编辑
摘要:2008-06-29 20:18using System;using System.Collections.Generic;using System.Text;using System.Threading;namespace 委托的异步调用{ public delegate void DelegateClass();//定义委托分类DelegateClass class Starter { sta... 阅读全文
posted @ 2010-02-03 09:36 玄魂 阅读(302) 评论(0) 推荐(0) 编辑
摘要:2008-06-30 00:27//如果一个未经处理的异常在一个多播委托中被引发,会发生什么事情呢?如果该委托在一个保护代码块//中被调用,异常将可以被捕获。直到异常发生,调用列表才会被调用,在调用列表随后的函数将不会被//执行。如果异常在一个异步执行的委托中被引发,情况可能会显得更复杂。在这样的情况下,异常是//在一个不同的线程中被引发。但是,运行时会将异常带回正在调用的线程。异常就像委托被同步... 阅读全文
posted @ 2010-02-03 09:34 玄魂 阅读(574) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示