一定得记住!ACM遇大数就好办了!!!

注意不可同时运行,每次只能运行一个类型

 package aad;///建根文件的时候选择了这一项就要写,没选择可以不用写
import java.io.*;
import java.math.BigInteger;
import java.util.*; public class main///class的名字 public也是在建立main class的时候选择了就要写,没选可删掉
{
public static void main(String args[])
{
//1 比较两个数的大小
Scanner cin = new Scanner(System.in);
while(cin.hasNext()) ///一直到结束
{
BigInteger a = cin.nextBigInteger();
BigInteger b = cin.nextBigInteger();
if(a.equals(BigInteger.ZERO) && b.equals(BigInteger.ZERO))
break;
int flag = a.compareTo(b);
if(flag == -1)
System.out.println("a<b");
else if(flag == 0)
System.out.println("a==b");
else
System.out.println("a>b");
} //2 斐波那契数列
BigInteger a[] = new BigInteger[11];
a[0] = new BigInteger("1"); ///注意赋值的时候
a[1] = new BigInteger("1");
for(int i = 2;i < 10;i++)
{
a[i] = a[i-1].add(a[i-2]);
}
System.out.println(a[9]); ///3 大数加法
Scanner in = new Scanner(System.in);
int n = in.nextInt();///n组数字相加
for(int i = 1; i <= n; ++i)
{
BigInteger a = in.nextBigInteger();
BigInteger b = in.nextBigInteger();
BigInteger ans = a.add(b);
System.out.println("Case " + i + ":");
System.out.println(a + " + " + b + " = " +ans);
} ///4 高精度幂
Scanner cin = new Scanner(System.in);
while(cin.hasNext())
{
BigDecimal ans = cin.nextBigDecimal();
int n = cin.nextInt();
String res = ans.pow(n).stripTrailingZeros().toPlainString(); //整数去掉小数点和后面的0
if(res.startsWith("0")) //去掉前导0
{
res = res.substring(1);
}
System.out.println(res);
} ///5 大数阶乘
Scanner cin = new Scanner(System.in);
int n = cin.nextInt();
BigInteger ans = BigInteger.ONE;
for(int i = 1; i <= n; ++i)
ans = ans.multiply(BigInteger.valueOf(i));
System.out.println(ans);
}
}

JAVA

参考:http://blog.csdn.net/y990041769/article/details/41074777

声明为 BigInteger 的 java.math 中的字段
static BigInteger BigInteger. ONE
          BigInteger 的常量 1。
static BigInteger BigInteger. TEN
          BigInteger 的常量 10。
static BigInteger BigInteger. ZERO
          BigInteger 的常量 0。
返回 BigInteger 的 java.math 中的方法
BigInteger BigInteger. abs ()
          返回其值是此 BigInteger 的绝对值的 BigInteger。
BigInteger BigInteger. add (BigInteger val)
          返回其值为 (this + val) 的 BigInteger。
BigInteger BigInteger. and (BigInteger val)
          返回其值为 (this & val) 的 BigInteger。
BigInteger BigInteger. andNot (BigInteger val)
          返回其值为 (this & ~val) 的 BigInteger。
BigInteger BigInteger. clearBit (int n)
          返回其值与清除了指定位的此 BigInteger 等效的 BigInteger。
BigInteger BigInteger. divide (BigInteger val)
          返回其值为 (this / val) 的 BigInteger。
BigInteger [] BigInteger. divideAndRemainder (BigInteger val)
          返回包含 (this / val) 后跟 (this % val) 的两个 BigInteger 的数组。
BigInteger BigInteger. flipBit (int n)
          返回其值与对此 BigInteger 进行指定位翻转后的值等效的 BigInteger。
BigInteger BigInteger. gcd (BigInteger val)
          返回一个 BigInteger,其值是 abs(this) 和 abs(val) 的最大公约数。
BigInteger BigInteger. max (BigInteger val)
          返回此 BigInteger 和 val 的最大值。
BigInteger BigInteger. min (BigInteger val)
          返回此 BigInteger 和 val 的最小值。
BigInteger BigInteger. mod (BigInteger m)
          返回其值为 (this mod m ) 的 BigInteger。
BigInteger BigInteger. modInverse (BigInteger m)
          返回其值为 (this-1 mod m) 的 BigInteger。
BigInteger BigInteger. modPow (BigInteger exponent, BigInteger m)
          返回其值为 (thisexponent mod m) 的 BigInteger。
BigInteger BigInteger. multiply (BigInteger val)
          返回其值为 (this * val) 的 BigInteger。
BigInteger BigInteger. negate ()
          返回其值是 (-this) 的 BigInteger。
BigInteger BigInteger. nextProbablePrime ()
          返回大于此 BigInteger 的可能为素数的第一个整数。
BigInteger BigInteger. not ()
          返回其值为 (~this) 的 BigInteger。
BigInteger BigInteger. or (BigInteger val)
          返回其值为 (this | val) 的 BigInteger。
BigInteger BigInteger. pow (int exponent)
          返回其值为 (thisexponent ) 的 BigInteger。
static BigInteger BigInteger. probablePrime (int bitLength, Random rnd)
          返回有可能是素数的、具有指定长度的正 BigInteger。
BigInteger BigInteger. remainder (BigInteger val)
          返回其值为 (this % val) 的 BigInteger。
BigInteger BigInteger. setBit (int n)
          返回其值与设置了指定位的此 BigInteger 等效的 BigInteger。
BigInteger BigInteger. shiftLeft (int n)
          返回其值为 (this << n) 的 BigInteger。
BigInteger BigInteger. shiftRight (int n)
          返回其值为 (this >> n) 的 BigInteger。
BigInteger BigInteger. subtract (BigInteger val)
          返回其值为 (this - val) 的 BigInteger。
BigInteger BigDecimal. toBigInteger ()
          将此 BigDecimal 转换为 BigInteger 。
BigInteger BigDecimal. toBigIntegerExact ()
          将此 BigDecimal 转换为 BigInteger ,以检查丢失的信息。
BigInteger BigDecimal. unscaledValue ()
          返回其值为此 BigDecimal 的非标度值 的 BigInteger 。
static BigInteger BigInteger. valueOf (long val)
          返回其值等于指定 long 的值的 BigInteger。
BigInteger BigInteger. xor (BigInteger val)
          返回其值为 (this ^ val) 的 BigInteger。
参数类型为 BigInteger 的 java.math 中的方法
BigInteger BigInteger. add (BigInteger val)
          返回其值为 (this + val) 的 BigInteger。
BigInteger BigInteger. and (BigInteger val)
          返回其值为 (this & val) 的 BigInteger。
BigInteger BigInteger. andNot (BigInteger val)
          返回其值为 (this & ~val) 的 BigInteger。
int BigInteger. compareTo (BigInteger val)
          将此 BigInteger 与指定的 BigInteger 进行比较。
BigInteger BigInteger. divide (BigInteger val)
          返回其值为 (this / val) 的 BigInteger。
BigInteger [] BigInteger. divideAndRemainder (BigInteger val)
          返回包含 (this / val) 后跟 (this % val) 的两个 BigInteger 的数组。
BigInteger BigInteger. gcd (BigInteger val)
          返回一个 BigInteger,其值是 abs(this) 和 abs(val) 的最大公约数。
BigInteger BigInteger. max (BigInteger val)
          返回此 BigInteger 和 val 的最大值。
BigInteger BigInteger. min (BigInteger val)
          返回此 BigInteger 和 val 的最小值。
BigInteger BigInteger. mod (BigInteger m)
          返回其值为 (this mod m ) 的 BigInteger。
BigInteger BigInteger. modInverse (BigInteger m)
          返回其值为 (this-1 mod m) 的 BigInteger。
BigInteger BigInteger. modPow (BigInteger exponent, BigInteger m)
          返回其值为 (thisexponent mod m) 的 BigInteger。
BigInteger BigInteger. multiply (BigInteger val)
          返回其值为 (this * val) 的 BigInteger。
BigInteger BigInteger. or (BigInteger val)
          返回其值为 (this | val) 的 BigInteger。
BigInteger BigInteger. remainder (BigInteger val)
          返回其值为 (this % val) 的 BigInteger。
BigInteger BigInteger. subtract (BigInteger val)
          返回其值为 (this - val) 的 BigInteger。
BigInteger BigInteger. xor (BigInteger val)
          返回其值为 (this ^ val) 的 BigInteger。
参数类型为 BigInteger 的 java.math 中的构造方法
BigDecimal (BigInteger val)
          将 BigInteger 转换为 BigDecimal 。
BigDecimal (BigInteger unscaledVal, int scale)
          将 BigInteger 非标度值和 int 标度转换为 BigDecimal 。
BigDecimal (BigInteger unscaledVal, int scale, MathContext mc)
          将 BigInteger 非标度值和 int 标度转换为 BigDecimal (根据上下文设置进行舍入)。
BigDecimal (BigInteger val, MathContext mc)
          将 BigInteger 转换为 BigDecimal (根据上下文设置进行舍入)。
java.util 中 BigInteger 的使用
返回 BigInteger 的 java.util 中的方法
BigInteger Scanner. nextBigInteger ()
          将输入信息的下一个标记扫描为一个 BigInteger 。
BigInteger Scanner. nextBigInteger (int radix)
          将输入信息的下一个标记扫描为一个 BigInteger 。
java.math 中 BigDecimal 的使用
声明为 BigDecimal 的 java.math 中的字段
static BigDecimal BigDecimal. ONE
          值为 1,标度为 0。
static BigDecimal BigDecimal. TEN
          值为 10,标度为 0。
static BigDecimal BigDecimal. ZERO
          值为 0,标度为 0。
返回 BigDecimal 的 java.math 中的方法
BigDecimal BigDecimal. abs ()
          返回 BigDecimal ,其值为此 BigDecimal 的绝对值,其标度为 this.scale() 。
BigDecimal BigDecimal. abs (MathContext mc)
          返回其值为此 BigDecimal 绝对值的 BigDecimal (根据上下文设置进行舍入)。
BigDecimal BigDecimal. add (BigDecimal augend)
          返回一个 BigDecimal ,其值为 (this + augend) ,其标度为 max(this.scale(), augend.scale()) 。
BigDecimal BigDecimal. add (BigDecimal augend, MathContext mc)
          返回其值为 (this + augend) 的 BigDecimal (根据上下文设置进行舍入)。
BigDecimal BigDecimal. divide (BigDecimal divisor)
          返回一个 BigDecimal ,其值为 (this / divisor) ,其首选标度为 (this.scale() - divisor.scale()) ;如果无法表示准确的商值(因为它有无穷的十进制扩展),则抛出 ArithmeticException 。
BigDecimal BigDecimal. divide (BigDecimal divisor, int roundingMode)
          返回一个 BigDecimal ,其值为 (this / divisor) ,其标度为 this.scale() 。
BigDecimal BigDecimal. divide (BigDecimal divisor, int scale, int roundingMode)
          返回一个 BigDecimal ,其值为 (this / divisor) ,其标度为指定标度。
BigDecimal BigDecimal. divide (BigDecimal divisor, int scale, RoundingMode roundingMode)
          返回一个 BigDecimal ,其值为 (this / divisor) ,其标度为指定标度。
BigDecimal BigDecimal. divide (BigDecimal divisor, MathContext mc)
          返回其值为 (this / divisor) 的 BigDecimal (根据上下文设置进行舍入)。
BigDecimal BigDecimal. divide (BigDecimal divisor, RoundingMode roundingMode)
          返回一个 BigDecimal ,其值为 (this / divisor) ,其标度为 this.scale() 。
BigDecimal [] BigDecimal. divideAndRemainder (BigDecimal divisor)
          返回由两个元素组成的 BigDecimal 数组,该数组包含 divideToIntegralValue 的结果,后跟对两个操作数计算所得到的 remainder 。
BigDecimal [] BigDecimal. divideAndRemainder (BigDecimal divisor, MathContext mc)
          返回由两个元素组成的 BigDecimal 数组,该数组包含 divideToIntegralValue 的结果,后跟根据上下文设置对两个操作数进行舍入计算所得到的 remainder 的结果。
BigDecimal BigDecimal. divideToIntegralValue (BigDecimal divisor)
          返回 BigDecimal ,其值为向下舍入所得商值 (this / divisor) 的整数部分。
BigDecimal BigDecimal. divideToIntegralValue (BigDecimal divisor, MathContext mc)
          返回 BigDecimal ,其值为 (this / divisor) 的整数部分。
BigDecimal BigDecimal. max (BigDecimal val)
          返回此 BigDecimal 和 val 的最大值。
BigDecimal BigDecimal. min (BigDecimal val)
          返回此 BigDecimal 和 val 的最小值。
BigDecimal BigDecimal. movePointLeft (int n)
          返回一个 BigDecimal ,它等效于将该值的小数点向左移动 n 位。
BigDecimal BigDecimal. movePointRight (int n)
          返回一个 BigDecimal ,它等效于将该值的小数点向右移动 n 位。
BigDecimal BigDecimal. multiply (BigDecimal multiplicand)
          返回一个 BigDecimal ,其值为 (this × multiplicand) ,其标度为 (this.scale() + multiplicand.scale()) 。
BigDecimal BigDecimal. multiply (BigDecimal multiplicand, MathContext mc)
          返回其值为 (this × multiplicand) 的 BigDecimal (根据上下文设置进行舍入)。
BigDecimal BigDecimal. negate ()
          返回 BigDecimal ,其值为 (-this) ,其标度为 this.scale() 。
BigDecimal BigDecimal. negate (MathContext mc)
          返回其值为 (-this) 的 BigDecimal (根据上下文设置进行舍入)。
BigDecimal BigDecimal. plus ()
          返回 BigDecimal ,其值为 (+this) ,其标度为 this.scale() 。
BigDecimal BigDecimal. plus (MathContext mc)
          返回其值为 (+this) 的 BigDecimal (根据上下文设置进行舍入)。
BigDecimal BigDecimal. pow (int n)
          返回其值为 (thisn ) 的 BigDecimal ,准确计算该幂,使其具有无限精度。
BigDecimal BigDecimal. pow (int n, MathContext mc)
          返回其值为 (thisn ) 的 BigDecimal 。
BigDecimal BigDecimal. remainder (BigDecimal divisor)
          返回其值为 (this % divisor) 的 BigDecimal 。
BigDecimal BigDecimal. remainder (BigDecimal divisor, MathContext mc)
          返回其值为 (this % divisor) 的 BigDecimal (根据上下文设置进行舍入)。
BigDecimal BigDecimal. round (MathContext mc)
          返回根据 MathContext 设置进行舍入后的 BigDecimal 。
BigDecimal BigDecimal. scaleByPowerOfTen (int n)
          返回其数值等于 (this * 10n ) 的 BigDecimal。
BigDecimal BigDecimal. setScale (int newScale)
          返回一个 BigDecimal ,其标度为指定值,其值在数值上等于此 BigDecimal 的值。
BigDecimal BigDecimal. setScale (int newScale, int roundingMode)
          返回一个 BigDecimal ,其标度为指定值,其非标度值通过此 BigDecimal 的非标度值乘以或除以十的适当次幂来确定,以维护其总值。
BigDecimal BigDecimal. setScale (int newScale, RoundingMode roundingMode)
          返回 BigDecimal ,其标度为指定值,其非标度值通过此 BigDecimal 的非标度值乘以或除以十的适当次幂来确定,以维护其总值。
BigDecimal BigDecimal. stripTrailingZeros ()
          返回数值上等于此小数,但从该表示形式移除所有尾部零的 BigDecimal 。
BigDecimal BigDecimal. subtract (BigDecimal subtrahend)
          返回一个 BigDecimal ,其值为 (this - subtrahend) ,其标度为 max(this.scale(), subtrahend.scale()) 。
BigDecimal BigDecimal. subtract (BigDecimal subtrahend, MathContext mc)
          返回其值为 (this - subtrahend) 的 BigDecimal (根据上下文设置进行舍入)。
BigDecimal BigDecimal. ulp ()
          返回此 BigDecimal 的 ulp(最后一位的单位)的大小。
static BigDecimal BigDecimal. valueOf (double val)
          使用 Double.toString(double) 方法提供的 double 规范的字符串表示形式将 double 转换为 BigDecimal 。
static BigDecimal BigDecimal. valueOf (long val)
          将 long 值转换为具有零标度的 BigDecimal 。
static BigDecimal BigDecimal. valueOf (long unscaledVal, int scale)
          将 long 非标度值和 int 标度转换为 BigDecimal 。
参数类型为 BigDecimal 的 java.math 中的方法
BigDecimal BigDecimal. add (BigDecimal augend)
          返回一个 BigDecimal ,其值为 (this + augend) ,其标度为 max(this.scale(), augend.scale()) 。
BigDecimal BigDecimal. add (BigDecimal augend, MathContext mc)
          返回其值为 (this + augend) 的 BigDecimal (根据上下文设置进行舍入)。
int BigDecimal. compareTo (BigDecimal val)
          将此 BigDecimal 与指定的 BigDecimal 比较。
BigDecimal BigDecimal. divide (BigDecimal divisor)
          返回一个 BigDecimal ,其值为 (this / divisor) ,其首选标度为 (this.scale() - divisor.scale()) ;如果无法表示准确的商值(因为它有无穷的十进制扩展),则抛出 ArithmeticException 。
BigDecimal BigDecimal. divide (BigDecimal divisor, int roundingMode)
          返回一个 BigDecimal ,其值为 (this / divisor) ,其标度为 this.scale() 。
BigDecimal BigDecimal. divide (BigDecimal divisor, int scale, int roundingMode)
          返回一个 BigDecimal ,其值为 (this / divisor) ,其标度为指定标度。
BigDecimal BigDecimal. divide (BigDecimal divisor, int scale, RoundingMode roundingMode)
          返回一个 BigDecimal ,其值为 (this / divisor) ,其标度为指定标度。
BigDecimal BigDecimal. divide (BigDecimal divisor, MathContext mc)
          返回其值为 (this / divisor) 的 BigDecimal (根据上下文设置进行舍入)。
BigDecimal BigDecimal. divide (BigDecimal divisor, RoundingMode roundingMode)
          返回一个 BigDecimal ,其值为 (this / divisor) ,其标度为 this.scale() 。
BigDecimal [] BigDecimal. divideAndRemainder (BigDecimal divisor)
          返回由两个元素组成的 BigDecimal 数组,该数组包含 divideToIntegralValue 的结果,后跟对两个操作数计算所得到的 remainder 。
BigDecimal [] BigDecimal. divideAndRemainder (BigDecimal divisor, MathContext mc)
          返回由两个元素组成的 BigDecimal 数组,该数组包含 divideToIntegralValue 的结果,后跟根据上下文设置对两个操作数进行舍入计算所得到的 remainder 的结果。
BigDecimal BigDecimal. divideToIntegralValue (BigDecimal divisor)
          返回 BigDecimal ,其值为向下舍入所得商值 (this / divisor) 的整数部分。
BigDecimal BigDecimal. divideToIntegralValue (BigDecimal divisor, MathContext mc)
          返回 BigDecimal ,其值为 (this / divisor) 的整数部分。
BigDecimal BigDecimal. max (BigDecimal val)
          返回此 BigDecimal 和 val 的最大值。
BigDecimal BigDecimal. min (BigDecimal val)
          返回此 BigDecimal 和 val 的最小值。
BigDecimal BigDecimal. multiply (BigDecimal multiplicand)
          返回一个 BigDecimal ,其值为 (this × multiplicand) ,其标度为 (this.scale() + multiplicand.scale()) 。
BigDecimal BigDecimal. multiply (BigDecimal multiplicand, MathContext mc)
          返回其值为 (this × multiplicand) 的 BigDecimal (根据上下文设置进行舍入)。
BigDecimal BigDecimal. remainder (BigDecimal divisor)
          返回其值为 (this % divisor) 的 BigDecimal 。
BigDecimal BigDecimal. remainder (BigDecimal divisor, MathContext mc)
          返回其值为 (this % divisor) 的 BigDecimal (根据上下文设置进行舍入)。
BigDecimal BigDecimal. subtract (BigDecimal subtrahend)
          返回一个 BigDecimal ,其值为 (this - subtrahend) ,其标度为 max(this.scale(), subtrahend.scale()) 。
BigDecimal BigDecimal. subtract (BigDecimal subtrahend, MathContext mc)
          返回其值为 (this - subtrahend) 的 BigDecimal (根据上下文设置进行舍入)。
java.util 中 BigDecimal 的使用
返回 BigDecimal 的 java.util 中的方法
BigDecimal Scanner. nextBigDecimal ()
          将输入信息的下一个标记扫描为一个 BigDecimal 。

Java最最基础的语法小结的更多相关文章

  1. Java(C#)基础差异-语法

    1.long类型 Java long类型,若赋值大于int型的最大值,或小于int型的最小值,则需要在数字后加L或者l,表示该数值为长整数,如long num=2147483650L. 举例如下: p ...

  2. Java SE基础知识

    Java SE面试题 目录 Java SE基础 基本语法 数据类型 关键字 面向对象 集合 集合类概述 Collection接口 List Set Map Java SE基础 基本语法 数据类型 Ja ...

  3. 二、JAVA基础、语法

    第二节:JAVA基础.语法 1.修饰符.变量:    Java中主要有如下几种类型的变量    局部变量                                                 ...

  4. JAVA 基础基本语法---常量与变量

    JAVA 基础基本语法---常量与变量 语法:计算机能够识别的语言的规则: 0. 基本语法 编写Java程序时,应注意以下几点: 大小写敏感:Java是大小写敏感的,这就意味着标识符Hello与hel ...

  5. Java基础概念语法

    Java基础概念语法 注释 单行注释 //行注释说明 多行注释 /* 多行注释说明 */ 文档注释 /** *@author 程序的作者 *@version 源文件的版本 *@param 方法的参数说 ...

  6. 动静结合?Ruby 和 Java 的基础语法比较(入门篇)

    前言 这篇文章示例代码比较多, Java 程序员可以看到一些 Ruby 相关语法和使用,Ruby 程序员可以看看 Java 的基本语法和使用方法,本文比较长,将近万字左右,预计需要十几分钟,如果有耐心 ...

  7. 学习java之基础语法(三)

    学习java之基础语法(三) java运算符 计算机的最基本用途之一就是执行数学运算,作为一门计算机语言,Java也提供了一套丰富的运算符来操纵变量.我们可以把运算符分成以下几组: 算术运算符 关系运 ...

  8. 学习java之基础语法(一)

    学习java之基础语法(一) 基本语法 编写 Java 程序时,应注意以下几点: 大小写敏感:Java 是大小写敏感的,这就意味着标识符 Hello 与 hello 是不同的. 类名:对于所有的类来说 ...

  9. 《Java笔记——基础语法》

    Java笔记--基础语法       一.字符串的拼接: 例如: System.out.println(""+"");     二.换行语句: 例如: Syst ...

随机推荐

  1. (转) CCEditBox 编辑框

    CCEditBox 编辑框 原文: http://blog.csdn.net/cloud95/article/details/8773470 分类: cocos2d-x 2013-04-08 19:1 ...

  2. 用jxl解析excel内容

    需要导入jxl.jar 下方表格为excel中内容: 序号 姓名 性别 生日 地址 1 测试1 男 1990-1-1 北京朝阳区 2 测试2 女 1998-2-2 北京海淀 3 测试3 男 1999- ...

  3. Swift高级语法学习总结

    Swift基础语法学习总结Swift高级语法学习总结Swift语法总结补充(一) 1.函数 1.1 func funcNmae()->(){} 这样就定义了一个函数,它的参数为空,返回值为空,如 ...

  4. 关于无法把程序(Adobe Fireworks CS5)添加到打开方式的解决办法

    关于无法把程序(Adobe Fireworks CS5)添加到打开方式的解决办法 最近换了新版的Adobe Fireworks CS5,发现打开图片文件时在右键“打开方式”里仍然是以前的Firewor ...

  5. Sprint(第一天11.14)

    Sprint1第一阶段 1.类名:软件工程-第一阶段 2.时间:11.14-11.23 3.选题内容:点餐系统 4.团队博客地址:http://www.cnblogs.com/iamCarson/ 团 ...

  6. NSTimer(定时器)

    [_timer fire]; fire并不是启动一个定时器,只是执行一次定时器事件(触发一次定时器事件)而已; 注意:不影响定时器设置的时间,即,不影响之前设定的使用,定时器该怎么跑就怎么跑,fire ...

  7. C library function - freopen()

    Description The C library function FILE *freopen(const char *filename, const char *mode, FILE *strea ...

  8. IOS开发数据库篇—SQLite模糊查询

    IOS开发数据库篇—SQLite模糊查询 一.示例 说明:本文简单示例了SQLite的模糊查询 1.新建一个继承自NSObject的模型 该类中的代码: // // YYPerson.h // 03- ...

  9. 手机测试pc端网页

    在这个问题上徘徊了 一个钟头了,终于被我找到方法了,就赶紧记下来,以后好查阅!! 主要问题在防火墙,防火墙阻当了80端口,所以怎么用手机访问都是访问不了的.把防火墙关闭就好了! 贴上httpd-vho ...

  10. 基于Jquery、JqueryUI插件编写

    刚开始编写jquery插件的时候,只是从网上找个模板看着写,并不理解.刚刚仔细把官网的API看了下,突然觉得豁然开朗了.马上放假了想着应该整理整理不然忘了又. How to create a Jque ...