摘要: void main(){int n=2,i=2;while(nsqrt(i)) cout<<i<<endl; i++; n++; } } 阅读全文
posted @ 2013-02-21 11:58 残阳掠影 阅读(109) 评论(0) 推荐(0) 编辑
摘要: using System;namespace Other_Features{ public class Prime { public int number; public Prime(int n) { if(isPrime(n)) this.number=n; else t... 阅读全文
posted @ 2013-02-21 11:57 残阳掠影 阅读(139) 评论(0) 推荐(0) 编辑
摘要: using System;class Test{ public static void Main() { Console.WriteLine ("该程序将求出三阶行列式的值:"); int[,] A=new int [3,3]; for(int i=0;i<3;i++) { for(in... 阅读全文
posted @ 2013-02-21 11:56 残阳掠影 阅读(497) 评论(0) 推荐(0) 编辑
摘要: using System;class My{static void Main(){Pow r=new Pow (); System.Threading .Thread.Sleep (10000);}}class Pow{public Pow(){ Console.WriteLine("请输入你要... 阅读全文
posted @ 2013-02-21 11:55 残阳掠影 阅读(450) 评论(0) 推荐(0) 编辑
摘要: using System;public class Factorial{ public long factorial(long x){ return ((x<=1) ? 1 : x*(factorial(x-1)));}}public class FactorialSum{ public s... 阅读全文
posted @ 2013-02-21 10:49 残阳掠影 阅读(258) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections ;class ArraySort{ static void Main() { ArrayList myArrayList=new ArrayList (); Console.WriteLine ("你想排几个数的序:")... 阅读全文
posted @ 2013-02-21 10:46 残阳掠影 阅读(125) 评论(0) 推荐(0) 编辑
摘要: using System;public class MatrixMultiply{ public static void Main() { int a=0,b=0,c=0,d=0;//矩阵A.B的行数.列数 Console.WriteLine ("该程序将求出两个矩阵的积:"); Conso... 阅读全文
posted @ 2013-02-21 10:45 残阳掠影 阅读(158) 评论(0) 推荐(0) 编辑
摘要: using System;class fangcheng{ public static void Main() { //声名变量 double a; double b; double c; double d; double e; double f; double g; double... 阅读全文
posted @ 2013-02-21 10:44 残阳掠影 阅读(152) 评论(0) 推荐(0) 编辑
摘要: using System;public class ChengFaBiao{ public static void Main() { Console.WriteLine ("jiu jiu cheng fa biao"); for(int x=1;x<=9;x++) { for(int y... 阅读全文
posted @ 2013-02-21 10:43 残阳掠影 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 死机是令操作者颇为烦恼的事情。死机时的表现多为“蓝屏”,无法启动系统,画面“定格”无反应,鼠标、键盘无法输入,软件运行非正常中断等。尽管造成死机的原因很多,但是万变不离其宗,其原因永远也脱离不了硬件与软件两方面。 一、由硬件原因引起的死机 【散热不良】 显示器、电源和CPU在工作中发热量非... 阅读全文
posted @ 2013-02-21 10:37 残阳掠影 阅读(198) 评论(0) 推荐(0) 编辑