设计一个shell脚本程序,设计一个shell脚本程序,用shell设计一个考勤模拟程序,设计一个计算n的阶乘的shell程序,你可以编写shell可以解释的程序(称为源程序)。这些源程序可以包括shell 程序设计 commands等等,外壳独立于操作系统,这种设计让用户可以灵活选择适合自己的外壳。
# include # include # define overflow 0 # define k1 # define error 0 # define list _ init _ size 100//线性表存储空间的初始增量# definelistincremm ENT10//?typedefstruct { int * elem//存储空间基址intlength//当前长度intlistsize//当前分配的存储容量} SqListSqListLintinitilist _ sq(SQLIST