📄 一个有趣的小程序 consolecool 改进.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0071)http://jiurl.cosoft.org.cn/jiurl/document/ConsoleCool+/ConsoleCool+.htm -->
<HTML><HEAD><TITLE>ConsoleCool</TITLE>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META content=黑客,安全,网络,编程,黑客软件,安全软件,hacker,UNIX,Linux,FreeBSD name=keywords>
<META content=黑客,安全,网络,编程,黑客软件,安全软件,hacker,UNIX,Linux,FreeBSD name=description>
<STYLE type=text/css>.title {
FONT-FAMILY: "黑体", Arial, sans-serif; FONT-SIZE: 21px; FONT-WEIGHT: bold; LINE-HEIGHT: 48px; TEXT-DECORATION: none
}
.author {
FONT-FAMILY: "宋体"; FONT-SIZE: 12px; LINE-HEIGHT: 16px
}
</STYLE>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR></HEAD>
<BODY bgColor=#f7f7f7 topMargin=5>
<DIV align=center>
<CENTER>
<TABLE border=0 cellPadding=0 cellSpacing=0 height=29 width="96%">
<TBODY>
<TR>
<TD class=title height=41 width="100%">
<P align=center><FONT face=宋体>一个有趣的小程序 ConsoleCool
改进</FONT></P></TD></TR></CENTER>
<TR>
<TD class=author height=9 width="100%">
<P align=center>作者: <A href="mailto:jiurl@mail.china.com">JIURL</A>
</P></TD></TR>
<TR>
<TD class=author height=6 width="100%">
<P
align=center>
主页: <A href="http://jiurl.yeah.net/">http://jiurl.yeah.net/</A> </P></TD></TR>
<TR>
<TD class=author height=2 width="100%">
<P align=center> 日期: 2003-4-4
</P></TD></TR></TBODY></TABLE></DIV>
<DIV align=center>
<CENTER>
<TABLE border=0 cellPadding=0 cellSpacing=0 height=1 width="96%">
<TBODY>
<TR>
<TD height=1 width="100%">
<HR color=#396da5 SIZE=3>
</TD></TR></TBODY></TABLE></CENTER></DIV>
<DIV align=center>
<TABLE border=0 cellPadding=0 cellSpacing=0 height=600 width="96%">
<TBODY>
<TR>
<TD height=295 rowSpan=2 vAlign=top
width="98%">/**********************************************<BR>Author:
JIURL<BR>Email: jiurl@mail.china.com<BR>Homepage1:
http://jiurl.yeah.net<BR>Homepage2:
http://jiurl.cosoft.org.cn/jiurl<BR>/**********************************************<BR>#include
<stdio.h><BR>#include <windows.h><BR>#include
<stdlib.h><BR><BR>void main()<BR>{<BR>HANDLE
hOut;<BR>hOut=GetStdHandle(STD_OUTPUT_HANDLE);<BR>SetConsoleTextAttribute(hOut,FOREGROUND_GREEN);<BR><BR>int
i;<BR>int
interval=10000;<BR><BR>while(1){<BR>SetConsoleTextAttribute(hOut,FOREGROUND_GREEN);<BR>if(rand()%10==0)
SetConsoleTextAttribute(hOut,FOREGROUND_INTENSITY|FOREGROUND_GREEN);<BR>if(rand()%2)
printf(" ");<BR>else
printf("%d",rand()%2);<BR>for(i=0;i<interval;i++)<BR>{<BR>__asm
nop<BR>}<BR>}<BR><BR>return;<BR>}<BR>
<P><A
href="http://jiurl.cosoft.org.cn/jiurl/document/ConsoleCool+/ConsoleCool+.zip">下载源码</A></P></TD>
<TD height=90 vAlign=top width="33%"><IMG border=0 height=255
src="一个有趣的小程序 ConsoleCool 改进.files/ConsoleCool+.gif" width=324></TD></TR>
<TR>
<TD height=263 vAlign=top
width="33%"></TD></TR></TBODY></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -