"Department Store Management System" is a simple console built 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.
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);
void edit();
void add();
void del();
void exit();
void d_rate();
void d_quan();
void d_all();
int check(char[]);
void gotoxy (int x, int y)
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.
Platform:
C-program supports platform such as windows 98, Xp, 2000, etc.Functions used in Department Store Management System:
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)
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.
1. COORD coord = {0, 0}; // sets coordinates to (0,0) as global variables
2. void gotoxy (int x, int y)
3.{
4. coord.X = x; coord.Y = y; // X and Y are the coordinates
5. SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), coord);
6.}
SCREENSHOTS
FIG 1. MAIN MENU
FIG 2. ADD ITEMS



