Mini Project in C Department Store Management System

3 Min Read

This mini project in C 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.

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 below.

Download Mini Project in C Department Store Management System with Source Code

[sociallocker]

Download Mini Project in C Department Store Management System with Source Code

[/sociallocker]

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.

COORD coord = {0, 0};  // sets coordinates to (0,0) as global variables
void gotoxy (int x, int y)
{
        coord.X = x; coord.Y = y; // X and Y are the coordinates
        SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), coord);
}

Output Screenshots:

Main Menu
Add Items

Also see,
Medical Store Management System
Cyber Management System
More Projects in C/C++

I hope this C mini project on Department Store Management System  will serve you well as a good reference project. Understanding its source code can definitely guide you create similar mini projects of your own. But, submitting this project with little or no modification at all is completely discouraged.

Share This Article
4 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

English
Exit mobile version