摘要: 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 玄魂 阅读(382) 评论(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 玄魂 阅读(680) 评论(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 玄魂 阅读(3057) 评论(0) 推荐(0) 编辑
摘要: 问题:今有邮箱150个,按序编号。全部关闭。邮递员从二号开始一次将2的倍数的邮箱打开,然后数倍数为3的邮箱,已经打开的关闭,已关闭的打开。依次操作倍数为4,5,6,。。。。。。150为止。输出最后关闭的邮箱号码。 阅读全文
posted @ 2010-02-03 10:09 玄魂 阅读(479) 评论(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 玄魂 阅读(2018) 评论(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 玄魂 阅读(451) 评论(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 玄魂 阅读(2282) 评论(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 玄魂 阅读(275) 评论(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 玄魂 阅读(336) 评论(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 玄魂 阅读(1398) 评论(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 玄魂 阅读(1690) 评论(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 玄魂 阅读(2632) 评论(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 玄魂 阅读(392) 评论(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 玄魂 阅读(1474) 评论(0) 推荐(0) 编辑
摘要: 邮包计费程序 (多分支程序设计),2、捉拿肇事司机(循环结构)3.二分法查找 阅读全文
posted @ 2010-02-03 09:50 玄魂 阅读(5029) 评论(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 玄魂 阅读(3681) 评论(0) 推荐(1) 编辑
摘要: 2008-04-10 14:35/*实现方阵转置 【提示】:该方法应该有两个参数,一个是要转置的方阵,另一个是方阵的阶数N,方阵的转置其实就是将行变成列,将列变成行。*/using System;namespace ConsoleApplication3{/// <summary>/// Class1 的摘要说明。/// </summary>class Class1{ //... 阅读全文
posted @ 2010-02-03 09:44 玄魂 阅读(321) 评论(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 玄魂 阅读(2437) 评论(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 玄魂 阅读(947) 评论(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 玄魂 阅读(567) 评论(0) 推荐(0) 编辑