Groups
Groups
Sign in
Groups
Groups
Code fellow's playground
Conversations
About
Send feedback
Help
方陣題目分享
4 views
Skip to first unread message
cpyi
unread,
Nov 30, 2012, 2:14:00 AM
11/30/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to code_fellow...@googlegroups.com
這聽說是電資班的LAB題目,管他是哪來的,秉持著好CODE大家寫的原則,來一PO。
題目就是能讓你控制空格的位置,按下(j)的話7會往下跑,其他類推。
本來好像不是j,k,h,l控制上下,不過我遵循vi convention,用h,j,k,l。
Remark:
此程式為windows only,因為運用system("cls");(本來想說"\f"可以,不過windows的console沒有實作,所以還是用這個),此外還有conio.h 也是windows only。
sample code:
www.nba.nctu.edu.tw/~cpyi/pp.c
Reply all
Reply to author
Forward
0 new messages