42 lines
982 B
C
42 lines
982 B
C
//include std lib if they havent been included
|
|
#ifndef STD_LIB_H
|
|
#define STD_LIB_H
|
|
#include<stdio.h>
|
|
#include<stdlib.h>
|
|
#include<string.h>
|
|
#include<stdbool.h>
|
|
#include<math.h>
|
|
#endif
|
|
|
|
#ifndef MENU_H
|
|
#define MENU_H
|
|
#include "menu.h"
|
|
#endif //MENU_H
|
|
|
|
// void admin_menu(){
|
|
// system("cls");
|
|
// welcome_message();
|
|
// //the selection menu
|
|
// // if(login valid)
|
|
// int choice = admin_menu_user_choices();
|
|
// switch (choice)
|
|
// {
|
|
// case 1://action with inventory
|
|
// inv_control();
|
|
// break;
|
|
// case 2://action with transction
|
|
// tran_control();
|
|
// break;
|
|
// case 3://action with user
|
|
// user_control();
|
|
// break;
|
|
// case 4://Exit
|
|
// break;
|
|
// default://invalid input ,should not happen,as it is already catch in above function
|
|
// printf("Invalid choice\n");
|
|
// break;
|
|
// }
|
|
|
|
|
|
// return true;
|
|
// }
|