发信人: Clof (终于说服老妈开空调,舒服), 信区: ANSI_Discuss
标 题: [组四]ANSI第四章作业 by MssCmm
发信站: 日月光华 (2007年01月31日21:51:17 星期三), 站内信件
【 以下文字转载自 Clof 的信箱 】
【 原文由 MssCmm 所发表 】
一 A类作业(所有正式学员需要完成)
1. 用线条画一个三角形,一个四边形以及一个多边形。(书面提交,大小不限)
/\ ▕ ̄ ̄︳ ╱ ̄ ̄╲
/ \ ▕ ︳ │ │
▔▔  ̄ ̄ ╲ ╱
 ̄ ̄
2. 在ANSI版或TEST版进行ANSI灌水。(该题无需书面提交) — by Syracuse
3. 谈谈你在这几章学习中遇到的一些问题。(书面提交,字数不限)
1) 几章下来,有了很大的收获。不仅仅是学会了如何画,还学会了一些原理,
类的知识。譬如色彩的产生,代码的控制,更重要的是思考的过程。
2) 上一章的思考题双倍复制Fterm让我有了提升,从最初monoply对代码的改写
到hw对代码的重编,的确让人感受到ansi的魅力之处:代码与字符是有限的,
但是人的智慧是无穷的。而我*[40m的代码之前一直不知道用*[m来进行省略,
思考的过程中在版面讨论中得到了更多,我想这也是ansi迷人的地方。解法永
远不唯一,乐趣在于自己的体会。
最后一个问题是前天最后才想到的——
3) 光标定位的空行问题是不是将画面最后一行定位在22;1H,结尾光标定位在该行79
个字符便可以解决这个问题?
二 B类作业(建议版主学员或有兴趣的学员完成)
1. 用色块画一个任意的多边形。(书面提交,形式不限)
╭┉┉┉┉
╰╮┍╮╭╖╭─┅┅┅ ─ ──────
┈ ┼ ╯┝╯╰╜│╭─
╰ ┈╯ ╰┼───┈┈┈┈┈┈┈┈─────╧┈┈┈┈┈┈┈┈┈┈┈┈
╰─
▂▆ ▆▄▁
▂▆ ▆▄▁
▂▆ ◣
◢ ▏
▏ ▏
▊ ▏
▉ ▏
▏ ▏
▊ ▏
▉ ▏
▏ ▍
▎
▎ ▎
▎ ▍
▎
▎ ▎
▎ ▍
▎ ▁▅
▅▃ ▁▅
▅▃ ▁▅
▆▄▇
--
※ 来源:·日月光华 bbs.fudan.edu.cn·[FROM: 10.8.225.9]
--
※ 转寄:·日月光华 bbs.fudan.edu.cn·[FROM: 60.173.251.168]
※ 修改:·Clof 於 01月31日21:50:32 修改本文·[FROM: 60.173.251.168]
--
※ 转载:·日月光华 bbs.fudan.edu.cn·[FROM: 60.173.251.168]
Sender: Clof finally convinced my mother to turn on the air conditioner. It’s comfortable. Message area: ANSI Discuss
Title: [Group 4] ANSI Chapter 4 Assignment by MssCmm
Sending site: Sun and Moon Guanghua Wednesday, January 31, 2007 21:51:17, site mail
The following text is reproduced from Clof's mailbox
Originally published by MssCmm
Category 1 Assignment All formal students need to complete
1. Use lines to draw a triangle, a quadrilateral and a polygon. Submit in writing. There is no limit to the size.
2. Conduct ANSI irrigation in the ANSI version or TEST version. This question does not require written submission by Syracuse
3. Talk about some of the problems you encountered while studying these chapters. Written submission. No limit to the number of words.
1 After a few chapters, I have gained a lot. Not only did I learn how to draw, I also learned some principles.
Class knowledge, such as color generation, code control, and more importantly, the thinking process
2. Double copying Fterm from the previous chapter’s thinking questions made me improve. I rewrote the code from the initial monoply.
When hw recoded the code, it really made people feel the charm of ansi. Codes and characters are limited.
But human wisdom is infinite, and I never knew to use *[m to omit the *[40m code before.
In the process of thinking, I got more from the forum discussion. I think this is also the fascinating part of ANSI.
Far from the only one, the fun lies in your own experience
The last question was the last thing I thought of the day before yesterday.
3. The problem with the blank line of cursor positioning is that the last line of the screen is positioned at 22;1H, and the ending cursor is positioned at line 79.
characters can solve this problem
The second type of homework is recommended to be completed by moderator students or interested students.
1. Use color blocks to draw an arbitrary polygon. Submit in writing. There is no limit to the form.
Source: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: 10.8.225.9]
Forward: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: 60.173.251.168]
Modification: Clof modified this article at 21:50:32 on January 31 [FROM: 60.173.251.168]
Reprint: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: 60.173.251.168]