//顯示版權信息函數
void version()
{
cout< cout<<" ┏━━━━━━━━━━━━━━━━━━━━━━━┓"< cout<<" ┃ 磁盤調度算法系統 ┃"< cout<<" ┠───────────────────────┨"< cout<<" ┃ (c)All Right Reserved Neo ┃"< cout<<" ┃ sony006@163.com ┃"< cout<<" ┃ version 2004 build 1122 ┃"< cout<<" ┗━━━━━━━━━━━━━━━━━━━━━━━┛"< cout< } void main() { int i; version(); initial(); readData(); FIFO(); shortest(); for(i=0;i queue[i].visited=0; } elevator(); } [1] [2] [3] [4] [5] [6]
From:http://tw.wingwit.com/Article/program/czxt/201311/24025.html