发信人: SpiritRain (妖精雨·日月光华同灿烂·孤身一妖闯北京), 信区: ANSI
标 题: Re: [组六]第三章作业 by williamqin
发信站: 日月光华 (2007年08月10日22:42:36 星期五), 站内信件
真是认真的老师。。。
另外说一句,结尾的时候最好用*[m,而不是*[0m
前者恢复到屏幕默认设置,后者是低亮设置
这个会影响下一行的效果
一般来说ansi的效果最好在此行完结,不要对后面作影响
【 在 soulfox (小o&灵狐~以华丽之名) 的大作中提到: 】
: 第一题写的两个字真是很漂亮啊,用画笔能写到这么漂亮的字很不错啦
: 果然是有书法天分啊(是么?)我的偶像~~
: 于是你可以考虑不用画笔,或者不用单独的一种符号来画字了,相信能够
: 画的很漂亮
: 第二道题嘛。。是不是有点懒啊,光是智能翻转过来就不管哪?哪怕与原图
: 还有这么多不同的地方?你太信任智能翻转啦,很多该反色的地方没有考虑
: 到啊。
: 至于代码精简方面,做的还行,符合要求,不过我援引hw大侠的话,建议几句:
: (momo我自己,代码上面确实不是很在行啊)
: 仔细看的话,前一行中有"*[45m *[30m"可以简化为"*[30;45m "
: .................(以下省略)
--
╭╰╮╭─╯ ╮ ╭·┬┬─╮ ╭────╮ ╮╭╮╮
╭╯╭┼├·╮ ╰· ╭─┼┼─╮ │╭───╮ ╭╮╭┬╮
╰┤ ·╯ │ │ ╰─┴┴·╯ │├───┤ ╭╯╭╯╮
│╭┴╮ │ ╭╯ ╭┼──┼╮ │╰──┬╯ ╰╮├·┤
·│ ╰╮╯ ╭╯ ╰╮ · │ │╰·─┼╯ ╭╯├·┤
╯╰─╯╰╯ ╯ ╰╯ ╰──┼╯ ╯╰─·╯ ╰────╯
※ 来源:·日月光华 bbs.fudan.edu.cn·[FROM: 60.206.216.42]
Sender: SpiritRain Fairy Rain, the sun and the moon shine brightly together, a monster breaks into Beijing alone, message area: ANSI
Title: Re: [Group 6] Chapter 3 Homework by williamqin
Sending site: Sun and Moon Guanghua Friday, August 10, 2007 22:42:36, site mail
What a serious teacher
In addition, it is better to use *[m instead of *[0m at the end
The former restores the screen to the default settings and the latter is the low-brightness setting.
This will affect the effect of the next line
Generally speaking, the effect of ANSI is best completed in this line without affecting the subsequent ones.
Mentioned in Soulfox Xiaoo&Linghu’s masterpiece in the name of gorgeousness:
: The two words written in the first question are really beautiful. It’s great to be able to write such beautiful words with a brush.
: As expected, you have a talent for calligraphy, right? My idol.
: So you can consider not using a brush or using a separate symbol to draw words. I believe it can
: The painting is very beautiful
: The second question is a bit lazy, isn’t it? It doesn’t matter where it is just flipped over intelligently, even if it is different from the original picture.
: There are so many different places. You trust the smart flip too much. Many places that should be reversed have not been considered.
: Arrived
: As for code simplification, it’s done well and meets the requirements. However, I would like to quote the words of the hw hero and give me some suggestions.
: Momo myself is really not very good at coding.
: If you look carefully, there is "*[45m *[30m" in the previous line, which can be simplified to "*[30;45m "
: ............. omitted below
Source: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: 60.206.216.42]