Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ :

ÎÞÒâÖз¢ÏÖVB ForÑ­»·µÄÒ»¸öÌØµã

ÎÞÒâÖз¢ÏÖVB ForÑ­»·µÄÒ»¸öÌØµã£ºÔÚÑ­»·ÌåÖУ¬Æóͼ¸Ä±äÑ­»·ÖÕÖ¹±äÁ¿Ê¹Ö®ÌáǰÍ˳öÑ­»·ÊÇͽÀ͵ġ£
Private Sub Form_Load()
  Dim s(0 To 4) As String
  Dim N As Integer, i As Integer
  s(0) = "²âÊÔ1"
  s(1) = "²âÊÔ2"
  s(2) = "²âÊÔ3"
  s(3) = "²âÊÔ4"
  s(4) = "²âÊÔ5"
  N = 4
  For i = 0 To N
    'ÔÚÑ­»·ÌåÖУ¬Æóͼ¸Ä±äÑ­»·ÖÕÖ¹±äÁ¿Ê¹Ö®ÌáǰÍ˳öÑ­»·ÊÇͽÀ͵ġ£
    'Ö»ÓÐ Åжϡ¾Ñ­»·±äÁ¿¡¿ÊÇ·ñ´óÓÚ¡¾Ñ­»·ÖÕÖ¹±äÁ¿¡¿À´ÌáǰÍ˳ö²ÅÊÇ¿ÉÐеģ¬È磺If i > N Then Exit For
    Debug.Print s(i)
    If i = 0 Or i = 3 Then N = N - 1
  Next i
  MsgBox "i====" & i & " N==" & N
End Sub ......

¡¾×ª¡¿PythonʵÏÖµÄHMMÀà

#!/usr/bin/env python """
HMM module This module implements simple Hidden Markov Model class. It follows the description in
Chapter 6 of Jurafsky and Martin (2008) fairly closely, with one exception: in this
implementation, we assume that all states are initial states. @author: Rob Malouf
@organization: Dept. of Linguistics, San Diego State University
@contact: rmalouf@mail.sdsu.edu
@version: 2
@since: 24-March-2008
""" from copy import copy class HMM(object):     """
    Class for Hidden Markov Models
    An HMM is a weighted FSA which consists of:         - a set of states (0...C{self.states})
        - an output alphabet (C{self.alphabet})
        - a table of state transition probabilities (C{self.A})
        - a table of symb ......

PythonǶÈëC++Ïê½â(1)

À´CSDNµÄʱºò£¬¸Õ¸Õ½Ó´¥Python£¬ÄÇʱºò¶ÔPythonµÄǶÈ벿·ÖºÜ¸ÐÐËȤ£¬Ö»ÊÇһֱûÓÐʱ¼äÀ´ÅªÇåÆäÃæÉ´£¬Òò´ËҲһֱûÓÐʹÓÃǶÈëµÄ¹¦ÄÜ£¬ÁíÒ»¸öÔ­ÒòÊÇÎÒ»¹Ã»ÓÐÕæÕýÓÃPythonд¹ýÒ»¸öÕýʽµÄÓÐÓõãµÄ¶«Î÷£¬²»¹ý£¬ÏÖÔڻعýÍ·À´¼ÌÐø¿´ÕâÒ»²¿·Ö£¬·¢ÏÖ»¹ÊÇͦ¼òµ¥µÄ¡£ÒÔǰÏë°ÑÕⲿ·Ö·­Òë³öÀ´£¬¿ÉÊÇÓÉÓÚʱ¼äÔ­Òò£¬Ò²Ã»ÓÐÄǾ«Á¦£¬ËùÒÔÕâÀïÎһὫÎÒËù̽¾¿µÄÿ¸öPython/CǶÈ벿·Öº¯Êý¶¼ÓÃʵÀýÀ´ËµÃ÷£¬ÎÒÏë¿´´úÂë±ÈÎÒ½âÊÍҪͨË×Ò×¶®¡£
ÔÙ˵helloworld֮ǰ£¬ÏȲ»µÃ²»ÌáÏÂǶÈëµÄÅäÖÃÎÊÌâ¡£
²½Ö裺
1£ºÇëµ½¹ÙÍøÏÂÔØpythonµÄ°²×°³ÌÐò£¬°²×°python£¨ÎÒÏëÕâ²½Óеã¶àÓ࣬²»¹ý»¹ÊÇдÉϰɣ©
2£º½Ó×ÅÄã¿ÉÄÜ»¹ÐèÒªÏÂÔØpython£¨Óë°²×°°æ±¾Ïàͬ£©Ô´´úÂ룬ÒòΪÎÒÃÇÐèÒªÔÚdebugϱàÒëÁ´½ÓÉú³É¶ÔÓ¦µÄdebug¿â£¬ÈôÄãÄÜÔÚÍøÉÏÕÒµ½±ðÈËÒѾ­±àÒëºÃµÄ¿â£¬ÄãÒ²¿ÉÒÔÖ±½ÓÓñðÈ˵ġ£ÕâÑùµÃµ½2¸ödebug°æ±¾µÄ.libºÍ.dll
3£º½«pythonĿ¼ÏµÄincludeÎļþ¼ÐϵÄÎļþÒÆµ½±àÒëϵͳµÄincludeÖУ¬È»ºó½«releaseºÍdebug°æ±¾µÄ.libºÍ.dll·Åµ½Ö¸¶¨µÄÎļþ¼ÐÖУ¨lib·Åµ½±àÒëϵͳlib£¬dll·Åµ½windows/system32/£©
4£ººÃÁË£¬ÅäÖþʹËÍê³ÉÁË¡£
À´¿´´úÂ룺
#include "python/python.h"  //ÎÒÊǽ«pythonÄÇЩͷÎļþ·ÅÔÚÎÒ×Ô¼º½¨µ ......

PythonǶÈëC++Ïê½â(1)

À´CSDNµÄʱºò£¬¸Õ¸Õ½Ó´¥Python£¬ÄÇʱºò¶ÔPythonµÄǶÈ벿·ÖºÜ¸ÐÐËȤ£¬Ö»ÊÇһֱûÓÐʱ¼äÀ´ÅªÇåÆäÃæÉ´£¬Òò´ËҲһֱûÓÐʹÓÃǶÈëµÄ¹¦ÄÜ£¬ÁíÒ»¸öÔ­ÒòÊÇÎÒ»¹Ã»ÓÐÕæÕýÓÃPythonд¹ýÒ»¸öÕýʽµÄÓÐÓõãµÄ¶«Î÷£¬²»¹ý£¬ÏÖÔڻعýÍ·À´¼ÌÐø¿´ÕâÒ»²¿·Ö£¬·¢ÏÖ»¹ÊÇͦ¼òµ¥µÄ¡£ÒÔǰÏë°ÑÕⲿ·Ö·­Òë³öÀ´£¬¿ÉÊÇÓÉÓÚʱ¼äÔ­Òò£¬Ò²Ã»ÓÐÄǾ«Á¦£¬ËùÒÔÕâÀïÎһὫÎÒËù̽¾¿µÄÿ¸öPython/CǶÈ벿·Öº¯Êý¶¼ÓÃʵÀýÀ´ËµÃ÷£¬ÎÒÏë¿´´úÂë±ÈÎÒ½âÊÍҪͨË×Ò×¶®¡£
ÔÙ˵helloworld֮ǰ£¬ÏȲ»µÃ²»ÌáÏÂǶÈëµÄÅäÖÃÎÊÌâ¡£
²½Ö裺
1£ºÇëµ½¹ÙÍøÏÂÔØpythonµÄ°²×°³ÌÐò£¬°²×°python£¨ÎÒÏëÕâ²½Óеã¶àÓ࣬²»¹ý»¹ÊÇдÉϰɣ©
2£º½Ó×ÅÄã¿ÉÄÜ»¹ÐèÒªÏÂÔØpython£¨Óë°²×°°æ±¾Ïàͬ£©Ô´´úÂ룬ÒòΪÎÒÃÇÐèÒªÔÚdebugϱàÒëÁ´½ÓÉú³É¶ÔÓ¦µÄdebug¿â£¬ÈôÄãÄÜÔÚÍøÉÏÕÒµ½±ðÈËÒѾ­±àÒëºÃµÄ¿â£¬ÄãÒ²¿ÉÒÔÖ±½ÓÓñðÈ˵ġ£ÕâÑùµÃµ½2¸ödebug°æ±¾µÄ.libºÍ.dll
3£º½«pythonĿ¼ÏµÄincludeÎļþ¼ÐϵÄÎļþÒÆµ½±àÒëϵͳµÄincludeÖУ¬È»ºó½«releaseºÍdebug°æ±¾µÄ.libºÍ.dll·Åµ½Ö¸¶¨µÄÎļþ¼ÐÖУ¨lib·Åµ½±àÒëϵͳlib£¬dll·Åµ½windows/system32/£©
4£ººÃÁË£¬ÅäÖþʹËÍê³ÉÁË¡£
À´¿´´úÂ룺
#include "python/python.h"  //ÎÒÊǽ«pythonÄÇЩͷÎļþ·ÅÔÚÎÒ×Ô¼º½¨µ ......

pythonʹÓÃÐĵÃ2

Ŀǰ±àÒëÆ÷£¨Êµ¼ÊÊÇ·­ÒëÆ÷£©ÏîÄ¿ÒѾ­Íê³É£¬¶ÔpythonµÄʹÓÃÓÐÁ˸üÉîµÄ¸ÐÊÜ¡£
³ýÁË֮ǰ˵µÄÒÔÍ⣬ÒÔÏÂÊDz¹³ä¼¸µã£¨ÍêÈ«ÊǸöÈË¿´·¨£©¡£
Ê×ÏÈÊÇpythonÏà¶Ô·¾¶¶ÁÈ¡ÅäÖÃÎļþºÍдÎļþÎÊÌ⣬Ïà¶Ô·¾¶ÔÚpythonÖеÄʹÓøújavaºÍC++²»Í¬¡£ËüÊÇÔÚÄǸöλÖÃÔËÐÐpy½Å±¾£¬¾Í°Ñµ±Ç°Â·¾¶×÷Ϊ¸ù·¾¶¡£È磺µ±ÔÚĿ¼AÏÂÔËÐÐÒ»¸öpy½Å±¾£¬ÄÇôĿ¼A¾ÍÊÇÒ»¸ö¸ù·¾¶ÁË£¬ÄÇôËùνµÄÏà¶ÔÊÇÒÔÕâ¸ö·¾¶×÷Ϊ²Î¿¼£»µ±ÔÚĿ¼BÏÂÔËÐÐÒ»¸öpy½Å±¾£¬ÄÇôĿ¼B¾ÍÊÇÒ»¸ö¸ú·¾¶ÁË¡£
Õâʱ¾Í»á³öÏÖÔÚÕûºÏÄ£¿éʱ£¬×îÖյįô¶¯py½Å±¾µÄĿ¼λÖÃÊDz»¿ÉÈ·¶¨ÐԵģ¬ÄÇ»á³öÏֺܶàÅäÖÃÎļþ¶ÁÈ¡²»µ½£¬¶øÐ´Îļþд´íĿ¼µÄÇé¿ö¡£¶øÇÒpythonÐéÄâ»ú±¾ÉíÀ´½²£¬¼ÓÔØpyÎļþºÍ¶ÁÈ¡ÅäÖÃÎļþ£¨»òÆäËûÎļþ£©·½Ê½²¢²»Ïàͬ¡£ËùÒÔ½â¾öµÄ·½Ê½ÈçÏ£º
ʹÓÃpythonÄÚ²¿ÊôÐÔ__file__£¬±íʾµ±Ç°py½Å±¾ËùÊôµÄ·¾¶ÊÇÒ»¸ö¾ø¶Ô·¾¶¡£
²¢ÓÃos.path.split(os.path.realpath(__file__))[0]£¬À´µÃµ½µ±Ç°Ê¹ÓõÄ·¾¶¡£
Æä´ÎÊÇpythonÖÐĿ¼ÃüÃû¡¢py½Å±¾ÃüÃûºÍpy½Å±¾ÄÚÈݵÄÃüÃû¡£È磺ÔÚĿ¼CÏ£¬ÓÐÒ»¸öC.py½Å±¾Îļþ£¬C.py½Å±¾ÄÚÈÝÖÐÓÐÒ»¸öÀàCÕâÑù¡£
ÔÚÓÐЩ³¡¾°µÄµ÷ÓÃÖУ¬»áµ¼ÖÂÃüÃû³åÍ»£¬¼õÉÙÃüÃû³öÏÖÕâÑùµÄÇé¿ö¡£
½Ó×ÅpythonʹÓÃȷʵºÜÁé»î£¬´úÂëÁ¿ÉÙ£¬Èçp ......

ACCESS¼ÓÃÜ·½·¨


MicrosoftµÄACCESSÊý¾Ý¿â£¬ÊÇÎÒÃdz£ÓõÄ×ÀÃæÊý¾ÝÖ®Ò»£¬´ó¶àÖÐСÆóÒµµÄÊý¾Ý¿â¹ÜÀíϵͳ¶¼¿ÉÒÔ²ÉÓÃËü£¬µ«Æä°²È«ÐÔÒ»Ö±ÁîÈ˵£ÓÌ£¬ÊÔÏ룬һÌײÆÎñ¹ÜÀíϵͳ£¬Óû§Ö±½Ó´ò¿ªÊý¾Ý¿âÈ¥¸ü¸ÄÊý¾Ý£¬ºó¹û»áÈçºÎ£¿ÓÐЩϵͳ¶ÔACCESSÊý¾Ý¿â¿ÉÄÜÖ»ÊǸü¸ÄÀ©Õ¹Ãû£¬»ò¼Ó¸öÃÜÂ룬ÖÚËùÖÜÖª£¬ÆÆ½âACCESSÃÜÂëµÄ·½·¨ºÍ¹¤¾ßÍøÉ϶àµÄÊÇ£¡ËùÒÔÕâÑùµÄ¼ÓÃÜÒ»ÑùÁîÈ˵£ÓÌ£¬ÏÂÃæ½éÉÜÒ»¸ö¼òµ¥µÄ·½·¨£¬ÊµÏÖACCESSÊý¾ÝµÄ¼ÓÃÜ£¬¹©´ó¼Ò²Î¿¼¡£
    ÓÃUltraEdit´ò¿ªMDBÎļþ¿ÉÒÔ¿´µ½£¬Îļþǰ16¸ö×Ö½ÚµÄÄÚÈÝ£º
00 01 00 00 53 74 61 6E 64 61 72 64 20 4A 65 74
ÏÖÔÚËæ±ã¸ü¸Ä¼¸¸ö£¬ÔÙÓÃACCESS´ò¿ª£¬·¢ÏÖ³öÏÖ²»Í¬Ê¶±ðµÄÎļþ¸ñʽ´íÎó£¬ÒòΪACCESSÇ°Ãæ±£´æµÄÐÅÏ¢¶¼ÊÇһЩMDBÎļþµÄ¶¨ÒåºÍ¿ÚÁÈç¹û¸ü¸ÄÕâЩÄÚÈÝ£¬±ðÈ˾ͺÜÄÑ¿´³öÕâ¸öÊý¾Ý¿âµÄ¸ñʽ£¬ÎÞ·¨´ò¿ªËüÁË£¬¶øÇÒÕâÑù²»»á¶ÔÊý¾Ý¿âµÄÄÚÈÝ×÷¸ü¸Ä£¬²»»áÆÆ»µÔ­ÓеÄÊý¾Ý¡£
ÏÂÃæ¾ÍÓÃDelphi×÷¸ö¼òµ¥µÄ¼ÓÃܽâ³ÌÐò£º
Óõ½µÄ¼ÓÃܽ⺯ÊýÈçÏ£º
const
titlestr:array[0..15] of byte=
($00,$01,$00,$00,$53,$74,$61,$6E,$64,$61,$72,$64,$20,$4A,$65,$74) ;//¶ÔÓ¦MDBÎļþµÄǰ16¸ö×Ö½Ú
titlestr2:array[0..15] of byte=
($48,$4A,$00,$58,$55,$43 ......

ȨÏÞ¹ÜÀíDelphi¶þάÊý×é·½°¸

ȨÏÞ¹ÜÀíDelphiʵÏÖËã·¨
ÔÚÔËÓÃDELPHI±àÖÆÒ»Ð©Ó¦ÓÃϵͳʱ£¬Óкܶàʱºò¶¼ÐèÒª¸ø²»Í¬µÄÓû§¸³Ó費ͬµÄȨÏÞ£¬
¶ø²»Í¬µÄϵͳÓÖÓв»Í¬µÄȨÏÞ·ÖÅ䷽ʽ£¬
Èç¹ûÔÚ³ÌÐòÖÐȥΪÿһλÓû§·ÖÅäȨÏ޵ϰ£¬²»½öʹµÃ³ÌÐòµÄ±àÖÆÊ®·ÖÂé·³£¬¶øÇÒÒ²²»ÀûÓÚ¹ÜÀí£¡
±ÊÕß½üÈÕÏëµÃÒ»×ÔÈÏΪ±È½ÏºÃµÄ·½·¨£¬Ô¸Óë´ó¼Ò¹²Ïí£¬²¢Íû¸÷λ¶àÖ¸½Ì£¡
ÔںܶàµÄϵͳÖУ¬È¨ÏÞͨ³£ÊDZ»·Ö³É¼¸¼¶µÄ¡£
ÿһ¼¶µÄÓû§ËùÄÜʵÏֵIJÙ×÷ÊDz»Í¬µÄ£¬¶øÊµÏÖÕâÒ»¹¦Äܵķ½·¨Ò»°ã¶¼ÊÇÈò»Í¬È¨ÏÞµÄÓû§¼ûµ½²»Í¬µÄ²Ëµ¥¡£
¼òµ¥µÄ˵¾ÍÊǶԲ»¾ßÓÐijһȨÏÞµÄÓû§ÕâÒ»²Ëµ¥¾ÍÊDz»¿É¼ûµÄ£¡
ΪÁËʵÏÖÕâÒ»¿ØÖÆ£¬³ÌÐòÔ±ÃÇÍùÍùµÃ»¨·ÑºÜ¶àµÄʱ¼äÈ¥×öÕâһģ¿é£¬ÀË·ÑÁ˺ܶ౦¹óµÄʱ¼ä£¡
Ïë·¨ÊÇ£ºÈç¹ûÉèÒ»¸ö¶þάÊý×飬µÚһά´ú±íµÚÒ»¼¶²Ëµ¥£¬µÚ¶þά´ú±í×Ӳ˵¥£¬
ÿһ¸öÊý×éÔªËØÖ»´æ´¢0»ò1ÕâÁ½¸öÊý£¬Ä³Ò»È¨ÏÞµÄÓû§¶ÔÓ¦×ÅÒ»¸ö¶þάÊý×飬¶øÕâ¸öÊý×éÓÖ´ú±íÁËÏàÓ¦µÄ²Ëµ¥¡£
¸øÄ³Ò»¼¶±ðµÄÓû§·ÖÅäȨÏÞºó£¬Ëû±ãÓµÓÐÁËÒ»¸öÏàÓ¦µÄÊý×é¡£
µÇ¼ʱ£¬´ÓÊý×éÖÐÈ¡³ö¸÷¸öÔªËØµÄÖµ£¬Èç¹ûΪ1ÔòÏàÓ¦µÄ²Ëµ¥³öÏÖ£¬Îª0Ôò²»³öÏֲ˵¥¡£
ÓÃÕâÖÖ·½Ê½²»µ«¿ÉÒÔ·Ö¼¶£¬»¹ÄÜʵÏÖÔÚ²»Í¬µÄÓû§¼äʵÏÖȨÏÞϸ·Ö£¬Ö»ÒªÄãÐÞ¸ÄÏàÓ¦µÄÊýֵΪ0»ò1¼´¿É£¡
ÉÏÃæÊÇÒ»¸ö¼òµ¥Àý×ÓµÄÔËÐн ......
×ܼǼÊý:40319; ×ÜÒ³Êý:6720; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [6106] [6107] [6108] [6109] 6110 [6111] [6112] [6113] [6114] [6115]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ