发信人: daviddvd (激情与梦想,努力与付出), 信区: ANSI_Discuss
标 题: [组七]ANSI第二章作业 by happyif
发信站: 日月光华 (2007年01月26日09:53:53 星期五), 站内信件
【 以下文字转载自 daviddvd 的信箱 】
【 原文由 happyif 所发表 】
不好意思,我电脑出问题了,现在才搞好,所以作业晚交了,真对不起
A类
我理解意思了,但想不出好看的,所以就做了简单的
▌
▌
B类
1.我是根据最后显示出的结果相同来简化代码的
效果:AB
代码:*[1;4;5;45;31mA*[0m*[45;32mB*[0m*[42m *[0m
2.规范代码的意义:
每个人使用的浏览软件不同,如果代码不规范,则其通用性就得不到
保证,对于发布和欣赏都带来麻烦,所以规范代码很重要。对于我们
初学者来说,更应该从一开始就注意代码的规范问题,避免大面积使
用闪烁,每行结尾用*[0m或*[m来结尾,下划线等效果要用规范代码
等等。我想与人方便与己方便,使用规范的代码既可以让人易于欣赏,
又可以使自己的作品传播得更广,我想这是双赢的。
C类
看了大家的讨论,粗略知道了走马灯的原理,简单试了下:
██████
██████
██████
██████
██████
██████
--
不让自己在做出任何选择之后有丝毫的后悔,后悔还不如坦然面对一切的后果。
※ 来源:·日月光华 bbs.fudan.edu.cn·[FROM:Heaven]
--
※ 转载:·日月光华 bbs.fudan.edu.cn·[FROM: 221.221.189.255]
Sender: daviddvd Passion and dream, hard work and dedication, message area: ANSI Discuss
Title: [Group 7] ANSI Chapter 2 Assignment by happyif
Sending site: Sun and Moon Guanghua January 26, 2007 09:53:53 Friday, site mail
The following text is reproduced from daviddvd's mailbox
Originally published by happyif
Sorry, I had a problem with my computer. I just fixed it now, so the homework was handed in late. I'm so sorry.
Category A
I understood the meaning, but I couldn't think of a good one, so I made a simple one.
Category B
1. I simplified the code based on the final displayed result being the same.
Effect AB
Code *[1;4;5;45;31mA*[0m*[45;32mB*[0m*[42m *[0m
2. The meaning of standardizing code
Everyone uses different browsing software. If the code is not standardized, its universality will not be achieved.
Guarantee brings trouble for both publishing and viewing, so standardizing the code is important to us
Beginners should pay attention to the standardization of the code from the beginning to avoid large-scale use.
Use blinking. End each line with *[0m or *[m. Underline and other effects must use standardized codes.
Wait, I want to make it convenient for others and myself. Using standardized code can make it easy for others to appreciate.
It can also spread your works more widely. I think this is a win-win situation.
Category C
After reading everyone’s discussion, I roughly understood the principle of the revolving lantern and gave it a brief try.
Don’t let yourself have the slightest regret after making any choice. Regret is better than facing all the consequences calmly.
Source: 日月光华 bbs.fudan.edu.cn [FROM Heaven]
Reprint: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: 221.221.189.255]