This mini project in C Department Store Management System is a console application without graphic. In this project, you can manage a typical ‘fashion wear’ department store. You can add goods, edit goods, search, delete and display the goods.
File handling has been used to record the information (rate, quantity, name and code) of the added goods. You can search the goods by rate, code or quantity. And, similar goes for display; you can display the items by quantity, rate or code.
The source code for this mini project is complete and totally error-free. It is compiled in Code::Blocks with gcc compiler. Unlike other C program source codes, I haven’t displayed the source code for this mini project on Department Store Management System in C here because it’s too long – over 800 lines. You can directly download the source code plus application file from the link given at the end.
Functions used in Department Store Management System:
I have basically divided the functions used in this project into four parent functions. And, those individual functions have been described in short comments within the source code.
1. Display functions:
- void curser(int);
- void dbill();
- void d_mainmenu();
- void display(rec *,int,int);
- void window(int,int,int,int);
- void dis_con();
- void d_search();
- void highlight(int,int);
2. Main Menu functions:
- void bill() ;
- void edit();
- void add();
- void del();
- void exit();
3. Display sub-menu functions:
void d_code();
- void d_rate();
- void d_quan();
- void d_all();
4. Checking functions:
- void c_code(char[]);
- int check(char[]);
void gotoxy (int x, int y) – I have been describing this function in every C mini project published on this site. You need to understand this function as it is one of the most important one used in this Department Store Management mini project.
This function allows you to print text in any place of screen. Using this function in Code::Blocks requires coding, but it can be directly used in Turbo C. Here is a code for this function in Code::Blocks.
0 comments:
Post a Comment