#ifndef __ITEM_H__
#define __ITEM_H__
/* The Macros That Used In The List.c */
/* Compare Between two elemants */
#define COMPARE(a,b) ((a).id == (b).id ? 1 : 0)
/* Print One Item */
#define PRINT_ITEM(a) printf("Name Is:%-10s\tId Is:%d\n",a.name,a.id)
/* Msg If List Is Empty */
#define LIST_IS_EMPTY {puts("The List Is Empty");}
/* What To Do If No List Exist */
#define NO_LIST {puts("No List"); \
exit(1);}
typedef struct
{
char name[20];
int id;
}Student_s;
typedef Student_s Item;
#endif /*__ITEM_H__*/