|
|
|
2008-06-17 12:38
※北京奥运
The Beijing 2008 Summer Olympics logo has a single Chinese character on a traditional red Chinese seal. The English words "Beijing 2008" are written with a Chinese brush below it. At the bottom of the picture, there are the five rings of Olympic Games. The figure in the logo resembles a runner or dancer and the Chinese character "jing" which means "capital".
|
2008-06-16 15:59
2008-05-03 15:44
哎,很少有时间写自己的博客,乘今天闲暇把我学习c语言时的有关指针应用的一个例子给大家分享一下.此例于我今年3月1日所创,^_^请各路好友指点.
源程序如下,在VC++6.0下编译,调试都通过。主要原理是:利用内存分配函数和指向数组元素的指针,在运行时给数组动态的分配存储空间.^_^只要会用指针,你就会发现用C语言实现动态数组是如此的简单...
#include "stdio.h"
#include "stdlib.h"
void sort(int m)
{
int |
2008-04-11 22:25
@echo off
title make .com , .bat file and test bat参数
for /l %%i in (1,1,16)do echo 0x0001 0x1110 0x0010 0x1010>>我们.com
pause
set str1=Sorry
::这个str2作为第二个实参,它的值是一个含空格的字符串,把它传给形参有bug
set "str2=get your name"
set str3=Gaoxiao
call :make_a_bat&call be.bat
call :lab %str1% %str2% %str3%
pause
del be.bat /f /q
我们||del 我们.com /f/q
goto :eof
|
2008-03-02 20:21
2008-01-17 15:37
Here's a collection of rundll and rundll32 command lines I've collected:
To bring up the "Format - 3 1/2 Floppy (A:)" window:
rundll32.exe shell32.dll,SHFormatDrive
To bring up the Control Panel "Date/Time Properties" window:
rundll32.exe shell32.dll,Control_Ru |
2007-12-19 17:53
a (Assemble) 逐行汇编 a [address]
c (Compare) 比较两内存块 c range address
d (Dump) 内存16进制显示 d [address]或 d [range]
e (Enter) 修改内存字节 e address [list]
f (fin) 预置一段内存 f range list
g (Go) 执行程序 g [=address][address...]
h (Hea (Assemble) 逐行汇编 a [address]
c (Compare) 比较两内存块 c range address
d (Dump) 内存16进制显示 d [address]或 d [range]
e (Enter) 修改内存字节 e address |
2007-12-19 17:34
ntsd从2000开始就是系统自带的用户态调试工具。被调试器附着(attach)的进程会随调试器一起退出,所以可以用来在命令行下终止进程。使用ntsd自动就获得了debug权限,从而能杀掉大部分的进程。只有System、SMSS.EXE和CSRSS.EXE不能杀。前两个是纯内核态的,最后那个是Win32子系统,ntsd本身需要它。ntsd会新开一个调试窗口,本来在纯命令行下无法控制,但如果只是简单的命令,比如退出(q),用-c参数从命令行传递就行了
【ntsd -c q -p pid】
如 |
2007-06-24 11:51
a.txt的内容如下:
hello,!world,^.goode^,feel4/,\thankyou
现在要求用for语句得到如下结果:
hello
!world
|
2007-05-12 23:25
使用多个命令和条件处理符号
使用条件处理符号可以从单个命令行或脚本运行多个命令。通过条件处理符号运行多个命令时,条件处理符号右边的命令根据条 |
|
|
|