|
COMP2113
COMP2113_ENGG1340 Programming technologies and Computer programming II [Section 2BC] [2023]
|
#include <stdio.h>#include <string.h>#include <stdlib.h>
Go to the source code of this file.
Classes | |
| struct | Employee |
Typedefs | |
| typedef struct Employee | Employee |
Functions | |
| int | main () |
| void | setEmployee (char n[], char p[], int sal, Employee *e) |
| void | showInfo (Employee e) |
| typedef struct Employee Employee |
Definition at line 11 of file employee.c.
| int main | ( | void | ) |
Definition at line 26 of file employee.c.
References setEmployee(), and showInfo().

| void setEmployee | ( | char | n[], |
| char | p[], | ||
| int | sal, | ||
| Employee * | e ) |
Definition at line 13 of file employee.c.
References Employee::Name, Employee::Position, and Employee::Salary.
Referenced by main().

| void showInfo | ( | Employee | e | ) |
Definition at line 20 of file employee.c.
References Employee::Name, Employee::Position, and Employee::Salary.
Referenced by main().
