C´úÂëÓïÑÔתVB´úÂëµÄÎÊÌ⣺
ËÄÜ°ïÎÒ°ÑÕâ¶Î´úÂëת³ÉVbµÄ´úÂ룬²»Ê¤¸Ð¼¤£¬Ð»Ð»£¡
void CTempDlg::OnOK()
{
UpdateData(1);
int nlen=m_edit1.GetLength();
char *username=m_edit1.GetBuffer(nlen);//¶¨ÒåÒ»¸öÐÂ×Ö·û´®username,³¤¶ÈΪnlen£¬²¢½«m_edit1ÖеÄ×Ö·û´®Ò»¸ö¸ö·ÅÈëµ½usernameÊý×éÖÐ
char strA[]="9012345678abcdeABCDEFGHIJKLMNfghijklmnUVWXYZxyzuvwopqrstOPQRST";
int szint[18]={0x11,0x34,0xC9,0x23,0x75,0x18,0xD7,0xE2,0x12,0x35,0x29,0x2B,0xEC,0xB6,0x23,0x19};
int ljq1=0,ljq2=0x25;//ÀÛ¼ÓÆ÷
int k=0,l=0,q=0;
char *serile=new char[nlen];//¶¨ÒåÒ»¸öÐÂ×Ö·û´®Êý×éserile,³¤¶ÈΪnlen
for (int i=0;i<strlen(username);ljq1=ljq1+5,i++)
{
for (int j=0;j<strlen(strA);j++)
{
if (username[i]==strA[j])
{
// k=0,l=0/*,q=szint[i+2]*/;
l=szint[i];
if (i>=16)
{
l=i % 0x10;//ÇóÓà
l=szint[l];
}
k=ljq2;
k=k*3;
l=l^k;
l=l^ljq1;
l=l+j;
l=l % 0x3e;//ÓàÊý
serile[i]=strA[l];
l=l+0x24d9;
ljq2=l^ljq2;
break;
Ïà¹ØÎĵµ£º
C++ÖеÄStaticÓÐÁ½¸ö×÷Óá£
1¡¢ ¾²Ì¬¾Ö²¿±äÁ¿
¾²Ì¬¾Ö²¿±äÁ¿ÔÚº¯ÊýÄÚ¶¨Òå ËüµÄÉú´æÆÚΪÕû¸öÔ´³ÌÐò£¬µ«ÊÇÆä×÷ÓÃÓòÔڸú¯ÊýÄÚ£¬Ö»ÄÜÔÚ¶¨Òå¸Ã±äÁ¿µÄº¯ÊýÄÚʹÓøñäÁ¿¡£ ÔÊÐí¶Ô¹¹ÔìÀྲ̬¾Ö²¿Á¿¸³³õÖµ£¬Èôδ¸³ÒÔ³õÖµ£¬ÔòÓÉϵͳ×Ô¶¯¸³ÒÔ0Öµ¡£
void fun1()
{
static int i = 0;
......
ÔÚVisual Studio 2005Öд´½¨C³ÌÐòµÄ·½·¨Îª£º
1. File ->New Project -> Visual C++ -> Win32 -> Win32 Console Application,È»ºóÔÚÏÂÃæµÄNameÀ¸Ð´ÉÏProjectÃû³Æ,LocationÀ¸Ð´ÉÏÎļþµÄ´æ·Å·¾¶,µãOK°´Å¥½øÈëApplication Settings,ÔÚAddtional optionsÖÐÑ ......
±¾ÎÄ´¥¼°µ½Socket TCP/IP±à³Ì·½ÃæµÄ֪ʶ£¬ÆäʵÕâÊǺܼòµ¥µÄÄÚÈÝ£¬´ó¼Ò¿´²»Ã÷µÄµØ·½´ó¿ÉÒÔÏÈÍù϶Á£¬ÒÔºóÔÙ¿´Ò»±é£¬¿ÉÄÜ»á¾õµÃºÜ¼òµ¥¡£
ºÜ¶àÈËдÍøÕ¾ÓùßÁËIISºÍTomcatÕâЩ¸ß¼¶µÄºǫ́À´×öÍøÕ¾ºǫ́·þÎñ£¬È»¶ø£¬ÔÚÕâЩºǫ́»¹Ã»ÓÐÎÊÊÀ֮ǰ£¬ÈËÃÇÊÇÔõô±àдÍøÕ¾µÄÄØ£¿ËûÃǵײ㹲ͬ×ñÊصÄ×¼ÔòºÍ±ê×¼ÓÖÊÇʲôÄØ£¿
Õâ¾ÍÊÇht ......
VBScript ÔËÐг£¼û´íÎó
Èç¹û VBScript ½Å±¾Ö´ÐÐϵͳÎÞ·¨ÊµÊ©µÄ²Ù×÷£¬Ôò»á²úÉú VBScript ÔËÐÐʱ´íÎó¡£Ö»ÓÐÔÚÔËÐнű¾¡¢Îª±äÁ¿±í´ïʽ¸³Öµ»ò·ÖÅäÄÚ´æʱ£¬²Å»á²úÉú VBScript ÔËÐÐʱ´íÎó¡£ ÒÔÏÂÊÇ65¸öÔËÐÐʱ´íÎó£º
´íÎó±àºÅ ÃèÊö
Ê®½øÖÆ Ê®Áù½øÖÆ¡¡¡¡¡¡¡¡ËµÃ÷
5 ¡¡¡¡¡¡800A0005 ¡¡¡¡¡¡ÎÞЧ¹ý³Ìµ÷Óûò²ÎÊý
6 ¡¡¡¡¡¡800A00 ......