|
pengfei
银牌会员
    
积分 1218
发帖 485
注册 2006-7-21 来自 湖南.娄底
状态 离线
|
『第 16 楼』:
使用 LLM 解释/回答一下
嘎嘎~ 教科书上的东西都是死的, 最主要的是懂得灵活运用...
Gaga~ The things in textbooks are all static. The most important thing is to know how to use them flexibly...
|
|
2006-10-18 22:56 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-10-18 22:57 |
|
|
redtek
金牌会员
     
积分 2902
发帖 1147
注册 2006-9-21
状态 离线
|
『第 18 楼』:
使用 LLM 解释/回答一下
建议版主和electronixtar 开新贴 讨论关于批处理位运算的贴子:)
因为在批处理中运用位运算的方案极少,这些位运算大多用在游戏里非常精彩~:)
所以,如果开新贴讨论的话有几点好处:
) 增加论坛的高级精华内容(别的论坛上极少提到并应用到的内容)
) 方便将来检索这个位运算的知识点
) 通过大家一起增加内容讨论这个位运算,让它活起来~!增加人气!增加高级人气(噢~那叫增加仙气~:)
Suggest that the moderator and electronixtar start a new thread to discuss posts about batch processing bitwise operations. :)
Because there are very few schemes for using bitwise operations in batch processing, and these bitwise operations are mostly very wonderful in games. :)
So, if we start a new thread to discuss, there are several advantages:
) Increase the advanced essence content of the forum (rarely mentioned and applied in other forums)
) Facilitate future retrieval of this bitwise operation knowledge point
) Through everyone adding content together to discuss this bitwise operation, make it lively! Increase popularity! Increase advanced popularity (Oh~ that's called increasing fairy qi~ :)
|

Redtek,一个永远在网上流浪的人……
_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._ |
|
2006-10-18 22:57 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 19 楼』:
使用 LLM 解释/回答一下
我什么都没看见~~~我什么都没说,我什么都不知道~~
(偷偷的拖出记事本写代码,ntcmds.chm看帮助文档 -_-! )
I saw nothing~~ I said nothing, I knew nothing~~
(Sneakily drag out Notepad to write code, read the help document in ntcmds.chm -_-! )
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2006-10-18 22:59 |
|
|
pengfei
银牌会员
    
积分 1218
发帖 485
注册 2006-7-21 来自 湖南.娄底
状态 离线
|
『第 20 楼』:
使用 LLM 解释/回答一下
Originally posted by qwe1234567 at 2006-10-18 22:57:
没有办法啊,微软没有这方面的说明啊
呵呵~ 就像namejm兄说的, cmd的帮助好似天书一样...
Originally posted by qwe1234567 at 2006-10-18 22:57:
There's no way, Microsoft doesn't have such instructions.
Hehe~ Just like what brother namejm said, the help of cmd is like a天书...
|
|
2006-10-18 22:59 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 21 楼』:
使用 LLM 解释/回答一下
namejm在一旁偷笑呢,唉,本来在写vbs不规则窗体代码的,这下又断了。晕
Wengier快来啊,这里有一群人在版聊, qwe1234567 版主带头版聊,把他们都封IP啊~~~
Last edited by electronixtar on 2006-10-18 at 23:05 ]
namejm is snickering aside. Oh, I was originally writing VBS irregular form code, and now it's interrupted again. Ugh
Wengier, come here quickly, there are a group of people chatting in the forum. The moderator qwe1234567 is leading the chat, go and ban all their IPs~~~
Last edited by electronixtar on 2006-10-18 at 23:05 ]
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2006-10-18 23:02 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
 『第 22 楼』:
使用 LLM 解释/回答一下
set /a a=0x01
set /a b=0x02
set /a c=0x01
set /a d=a^&b
set /a e=a^&c
运行结果:
C:\Documents and Settings\est>set /a c=a^&b
0
C:\Documents and Settings\est>set /a d=0x1
1
C:\Documents and Settings\est>set /a c=a^&d
0
C:\Documents and Settings\est>set /a c=b^&d
0
C:\Documents and Settings\est>set /a a=0x01
1
C:\Documents and Settings\est>set /a b=0x02
2
C:\Documents and Settings\est>set /a c=0x01
1
C:\Documents and Settings\est>set /a d=a^&b
0
C:\Documents and Settings\est>set /a e=a^&c
1
C:\Documents and Settings\est>
写完了,闪人
```
set /a a=0x01
set /a b=0x02
set /a c=0x01
set /a d=a^&b
set /a e=a^&c
```
Running results:
C:\Documents and Settings\est>set /a c=a^&b
0
C:\Documents and Settings\est>set /a d=0x1
1
C:\Documents and Settings\est>set /a c=a^&d
0
C:\Documents and Settings\est>set /a c=b^&d
0
C:\Documents and Settings\est>set /a a=0x01
1
C:\Documents and Settings\est>set /a b=0x02
2
C:\Documents and Settings\est>set /a c=0x01
1
C:\Documents and Settings\est>set /a d=a^&b
0
C:\Documents and Settings\est>set /a e=a^&c
1
C:\Documents and Settings\est>
Finished, bye
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2006-10-18 23:06 |
|
|
redtek
金牌会员
     
积分 2902
发帖 1147
注册 2006-9-21
状态 离线
|
『第 23 楼』:
使用 LLM 解释/回答一下
Originally posted by electronixtar at 2006-10-18 23:02:
namejm在一旁偷笑呢,唉,本来在写vbs不规则窗体代码的,这下又断了。晕
Wengier快来啊,这里有一群人在版聊, qwe1234567 版主带头版聊,把他们都堮..
写个批处理下彩票算号还有意思,什么时候用你写的批处理中了500万我给你10万,哈哈……
Originally posted by electronixtar at 2006-10-18 23:02:
namejm is snickering aside. Oh, I was originally writing the code for irregular forms in VBS, and now it's interrupted again. Oh my...
Wengier, come here quickly, there are a group of people chatting here. Moderator qwe1234567 leads the chat, and let's all...
Writing a batch script to calculate lottery numbers is still interesting. When you win 5 million with the batch script you wrote, I'll give you 100,000. Haha...
|

Redtek,一个永远在网上流浪的人……
_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._ |
|
2006-10-18 23:07 |
|
|
redtek
金牌会员
     
积分 2902
发帖 1147
注册 2006-9-21
状态 离线
|
『第 24 楼』:
使用 LLM 解释/回答一下
给electronixtar加一分~:)
Give electronixtar an extra point~:)
|

Redtek,一个永远在网上流浪的人……
_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._ |
|
2006-10-18 23:09 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-10-19 05:08 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 26 楼』:
使用 LLM 解释/回答一下
多谢est兄写了关于位运算的帖子。
但是没有写出这位运算到底有哪些方面的应用,提不起大家对位运算的兴趣。大家只知道几个位运算的结果,自己分析一下也出来了,但是这位运算究竟可以用在哪些方面呢?我认为举一个位运算的实际应用的例子来更能说明问题。
强烈建议 electronixtar 兄.........呵呵,你知道我的意思了吧...... d= =b
Thanks to brother est for writing the post about bit operations.
But it didn't write about what aspects of applications these bit operations have, which fails to arouse everyone's interest in bit operations. Everyone only knows the results of a few bit operations, and they can analyze them themselves, but what aspects can these bit operations be used in? I think giving a practical application example of bit operations can illustrate the problem better.
Strongly suggest brother electronixtar.........heh, you know what I mean...... d= =b
|
|
2006-10-19 07:04 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 27 楼』:
使用 LLM 解释/回答一下
那好吧,我提一个方向大家研究研究,用批处理做 base64 编码,会把位运算用的很爽的
Last edited by electronixtar on 2006-10-19 at 07:29 ]
Well then, I put forward a direction for everyone to study. Using batch processing to do base64 encoding, and it will make bit operations very enjoyable.
Last edited by electronixtar on 2006-10-19 at 07:29 ]
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2006-10-19 07:25 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-10-19 08:43 |
|
|
redtek
金牌会员
     
积分 2902
发帖 1147
注册 2006-9-21
状态 离线
|
『第 29 楼』:
使用 LLM 解释/回答一下
Originally posted by electronixtar at 2006-10-19 07:25:
那好吧,我提一个方向大家研究研究,用批处理做 base64 编码,会把位运算用的很爽的
Last edited by electronixtar on 2006-10-19 at 07:29 ]
这么好玩的想法你要开新贴啊~:)
把非常吸引人的内容留在外面(标题上要有),这样会有更多的人一进论坛就看到,又是宣传和人气~:)
BASE64编码用DOS批处理不借助外部工具读二进制再编码可真难啊:(
估计VBS合适?
Originally posted by electronixtar at 2006-10-19 07:25:
Well then, I'll put forward a direction for everyone to study. Using batch processing to do base64 encoding will make bit operations very enjoyable
Last edited by electronixtar on 2006-10-19 at 07:29 ]
Such a fun idea, you should start a new thread~ : )
Leave the very attractive content outside (the title should have it), so that more people will see it as soon as they enter the forum, which is also promotion and popularity~ : )
It's really difficult to use DOS batch processing to do BASE64 encoding without using external tools to read binary and then encode it : (
I estimate that VBS is suitable?
|

Redtek,一个永远在网上流浪的人……
_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._ |
|
2006-10-19 10:14 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 30 楼』:
使用 LLM 解释/回答一下
js合适。js也支持位运算
js is appropriate. js also supports bitwise operations
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2006-10-19 12:08 |
|