具体内容如下 #include<stdio.h>#include<stdlib.h>#include<unistd.h>#defineTTY_PATH"/dev/tty"#defineSTTY_ON"stty raw -echo -F"#defineSTTY_OFF"stty -raw echo -F"intmap[21][14];chardirect;intnode[7][4][16]={ {{0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0},//长方形{0,1,0,...