javaʹÓÃrocksawºÍvserv tcpipʵÏÖ»ùÓÚICMPµÄPing¹¦ÄÜ
Ò»£º×¼±¸ www.savarese.org download
1. rocksaw-1.0.0-src.tar.gz
2. vserv-tcpip-0.9.2-src.tar.gz
¶þ£º±àÒëÔ´ÎļþµÃµ½jar°ü ʹÓÃAnt
1. build vserv-tcpip-0.9.2-src
ÔÚvserv-tcpip-0.9.2Ŀ¼ÏÂÃ潨һ¸ötestsĿ¼£¬È»ºóÔÚcmd´°¿ÚϽøÈëvserv-tcpip-0.9.2-srcĿ¼£¬Ö´ÐÐAnt allÃüÁî,Ïà¹ØµÄAPI¡¢ class¡¢jar°ü¶¼Éú³ÉºÃÁË£¬jar°üÔÚlibĿ¼ÏÂ
2. build rocksaw-1.0.0-src
ant all
´íÎóÔÒò:jdk versionµÍÓÚ1.5
´íÎóÔÒò£ºbuild.properties ĬÈÏÊÇʹÓÃlinux/unix²Ù×÷ϵͳÉϵÄgccºÍgmake
jni.make=gmake
jni.cc=gcc
½â¾ö£º
#nmake¹¤¾ßȥ΢Èí¹ÙÍøÏÂÒ»¸öÐÞ¸´°æ±¾nmake15.exe,ÔËÐÐ ½«NMAKE.EXE·Åµ½system32Ŀ¼ÏÂ
jni.make=nmake
#°²×°C++¹¤¾ß°ü Microsoft Visual C++ Toolkit 2003,½«bin¡¢inlude¡¢lib¼ÓÈë»·¾³±äÁ¿pathÖÐ,ÕâÑù¾Í¿ÉÒÔÖ±½ÓʹÓÃclÃüÁî±àÒë
jni.cc=cl
´íÎóÔÒò:jni.makefile=Makefile ÕâÊÇlinux/unixÉϵÄmakefile
½â¾ö:jni.makefile=Makefile.win32 ÎļþÔÚ\rocksaw-1.0.0\src\jniÏÂ
´íÎóÔÒò£º¿ÉÄÜÊÇûÓÐÕÒµ½jdkĿ¼ÏµÄincludeĿ¼£¬erron.hÊÇMicrosoft Visual C++ Toolkit 2003\includeϵÄ
½â¾ö·½·¨£º½«java»·¾³±äÁ¿JAVA_HOME¸ÄΪJDK_HOME»òÕßÔÚMakefile.win32ÖÐÖ±½ÓÐÞ¸Ä JAVA_INCDIR=$(JAVA_HOME)\include,È»ºó½«Microsoft Visual C++ Toolkit 2003\includeϵÄerron.h¿½±´µ½jdk\includeÏÂ
´íÎóÔÒò£ºÃ»ÓÐÕÒµ½string.h
½â¾ö·½·¨:ÔÚMakefile.win32ÖÐÌí¼ÓÁ½¸ö±äÁ¿(CPP_HOME : Microsoft Platform SDK)
 
Ïà¹ØÎĵµ£º
create PROCEDURE pagelist
@tablename nvarchar(50),
@fieldname nvarchar(50)='*',
@pagesize int output,--ÿҳÏÔʾ¼Ç¼ÌõÊý
@currentpage int output,--µÚ¼¸Ò³
@orderid nvarchar(50),--Ö÷¼üÅÅÐò
@sort int,--ÅÅÐò·½Ê½£¬1±íʾÉýÐò£¬0±íʾ½µÐòÅÅÁÐ
......
ÏßÐÔ±í£¬Á´±í£¬¹þÏ£±íÊdz£ÓõÄÊý¾Ý½á¹¹£¬ÔÚ½øÐÐJava¿ª·¢Ê±£¬JDKÒѾΪÎÒÃÇÌṩÁËһϵÁÐÏàÓ¦µÄÀàÀ´ÊµÏÖ»ù±¾µÄÊý¾Ý½á¹¹¡£ÕâЩÀà¾ùÔÚjava.util°üÖС£±¾ÎÄÊÔͼͨ¹ý¼òµ¥µÄÃèÊö£¬Ïò¶ÁÕß²ûÊö¸÷¸öÀàµÄ×÷ÓÃÒÔ¼°ÈçºÎÕýȷʹÓÃÕâЩÀà¡£
Collection
©ÀList
©¦©ÀLinkedList
©¦©ÀArrayList
©¦©¸Vector
©¦¡¡©¸Stack
©¸Set
Map
©ÀHa ......
1¡¢JDK £¨Java Development Kit£©
¡¡¡¡SUNµÄJava²»½öÌáÁËÒ»¸ö·á¸»µÄÓïÑÔºÍÔËÐл·¾³£¬¶øÇÒ»¹ÌáÁËÒ»¸öÃâ·ÑµÄJava¿ª·¢¹¤¾ß¼¯(JDK)¡£¿ª·¢ÈËÔ±ºÍ×îÖÕÓû§¿ÉÒÔÀûÓÃÕâ¸ö¹¤¾ßÀ´¿ª·¢java³ÌÐò¡£
¡¡¡¡JDK¼òµ¥Ò×ѧ£¬¿ÉÒÔͨ¹ýÈκÎÎı¾±à¼Æ÷£¨È磺Windows ¼Çʱ¾¡¢UltrEdit¡¢Editplus¡¢FrontPageÒÔ¼°dreamweaverµÈ£©±àдJavaÔ´Îļþ£¬È» ......
ÏÂÃæÊÇʹÓÃjavaʵÏֵĵݹéÄæÐò¶Ô²éÕÒ£¬ËùνµÄÄæÐò¶Ô¾ÍÊÇÔÚÊý×éA[]ÖÐÈç¹û i < j ,²¢ÇÒA[i] > A[j], ÔòÎÒÃÇ˵A[i]ºÍA[j]ÊÇÒ»¶ÔÄæÐò¶Ô¡£Èç¹ûÓÃÆÕͨµÄË㷨ʵÏֵĻ°£¬²éÕÒµÄʱ¼ä¸´ÔӶȣ¬ÊÇO(N*N)£¬Ê¹ÓÃÕâÀïµÄ¶Ó¹æµÄ·½Ê½²éÕҵĻ°£¬Ê±¼ä¸´ÔÓ¶ÈÊÇO(N*lgN)
import java.util.Date;
import java.util.Random;
/*
* ʹÓõݹ ......
ÔÚ±±¾©´ôÁËÒ»¸öÔ¶àÁË£¬ÎªÁËÉú´æ£¬±Ê¼Ç±¾µçÄÔÒ²¼úÂôÁË£¬²»ÖªµÀ¹¤×÷ÕâôÄÑÕÒ¡£
Ò»¸öÕý¾µÄÃæÊÔҲûÓС£
ÎÒ´Ó07Äê±ÏÒµÒѾÀË·Ñ2Äêʱ¼äÁË£¬ÎÒÔ¸ÒâÓðëÄêµÄ0н³êÀ´»»È¡ÎÒÈëÐпª·¢£»
Ï£Íû±±¾©Óй«Ë¾ÌṩÈÃÎÒʵÏÖ×ÔÎÒ¼ÛÖµµÄƽ̨¡£
Èç¹ûÄú¶ÔÎÒµÄÄÜÁ¦ÓÐÒÉÎÊ£¬¹µÍ¨¿ÉÒÔÁ˽â ......