employee.h

来自「Thinking in C, 全世界非常有名的学习C语言的书籍。本源代码含有该书」· C头文件 代码 · 共 18 行

H
18
字号
/* employee.h */

/* addEmployee reads each field from standard
 * input into the next available Employee slot,
 * as in the exercise in the previous section.
 * It returns the index of the Employee
 * just added, or -1 if the array is full */
int addEmployee(void);

/* printEmployee also returns the index of the
 * Employee just printed, or -1 if the index i
 * is invalid */
int printEmployee(int i);

/* Does what it says: */
int numEmployees(void);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?