Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #define STR_LEN 50
- #define MENU_RESET -1
- #define MENU_EXIT 0
- #define MENU_PRINT 1
- #define MENU_ADD 2
- #define MENU_DEL 3
- struct Creature
- {
- int year;
- char name[STR_LEN];
- char author[STR_LEN];
- char museum[STR_LEN];
- };
- struct List
- {
- Creature C;
- List* next;
- };
- void PrintChar(char c, int count);
- bool Menu(int* pTask);
- void InputCtgMenu(int from, int to, int* pTask);
- void InsertList(List** begin, Creature *C);
- void PrintList(List *L);
- void InputCreature(Creature* pCreature);
- void AddCreature(List** begin);
- void DeleteCreature(List** begin);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement