摘要: 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 玄魂 阅读(5028) 评论(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 玄魂 阅读(2436) 评论(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) 编辑
摘要: 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 玄魂 阅读(221) 评论(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 玄魂 阅读(299) 评论(0) 推荐(0) 编辑