employ2h.html

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

HTML
27
字号
<html><font size="+1"><pre>
/* employ2.h */

#ifndef EMPLOYEE_H
#define EMPLOYEE_H

struct Employee {
    char last[16];
    char first[11];
    char title[16];
    int salary;
};

struct Employee* createEmployee(char*, char*, char*, int);
char* getLast(struct Employee*);
char* getFirst(struct Employee*);
char* getTitle(struct Employee*);
int getSalary(struct Employee*);
void setLast(struct Employee*, char*);
void setFirst(struct Employee*, char*);
void setTitle(struct Employee*, char*);
void setSalary(struct Employee*, int);
void printEmployee(struct Employee*);

#endif

</pre></font></html>

⌨️ 快捷键说明

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