This is large and complete c project built for medical store management system. In this project you can keep details of customer , suppliers and medicine. You can view the report and billing information also. You can add,edit, delete and search the record also. This project is also console application without graphics compile in code::blocks IDE with MinGW compiler.
Whole project is completely based on file handling all the record are store in file. You learn how to store the data ,editing data, searching data and deleting data using file. You can see the following feature in this projects.
1. Supplier Info
2.Customer Info
3.Medicine
4.Report
5.Bill
This is another Mangagement project which is suitable for school or college mini project. It is written in c++ language in code::blocks IDE with MinGW compiler. It is console application without graphics. Whole project is completely based on file handling all the employee’s record are store in file. You learn how to store the data, editing data, searching data and deleting the data using file. Following features can be found in this project which is listed below.
1. Built The Employee table
2.List the employee table
3.Insert new entry
4.Delete an entry
5.Edit an entry
6.Search a record
7.Sort the table
In this program we use Dynamic Data Exchange (DDE) with Notepad and Excel. Using Visual C++ a DDE communication server is made to exchange date. If we change the any data in Notepad then automatically data is updated in Excel. By same way we can also use Dynamic Data Exchange with Word and Excel. When possible, it is recommended that you use Automation, not DDE, to communicate with Excel or Word. DDE is a old method or technology. Excel and Word have rich object models that provide functionality through Automation that is not available with DDE. Excel versions 5.o and later , and Word versions 7.0 and later, support Automation. But who are using old version of Excel where Automation is not supported then DDE can be a better solution. I can't explain the program and DDE better than MSDN site so I will provide the reference link where you can learn it .
“Bus Reservation System” project is written in c++. It is very simple project just to show the implement of class and object of C++. You can understand the code easily and learn how to create class and use object in c++ for your C++ project.The tasks that user can perform in this project are listed below:
1.Install the bus record
2.Reservation
3.Show the bus details
4.Show all buses available
This project is console application without GUI. You can add many features in this project.Here data of bus information is not store in file so every run of program previous data is lost so you can implement the file handling to store all the bus details.
Bank Management System project is design and programmed by Ravi Agrawal, Sagar Sharma and Sawal Maskey student of IOE as a first year mini project in c. This program may not be used as a Banking software but programmer tries to implement all the features of Bank. Program is completely password protected and has a two mode Admin and Staff mode. Bank administrator can login as admin user name is “admin” and password is “ioe” for admin mode. For staff mode three user name is available which is written in USER.DAT which you can see download this project. The list of user name and passwor for staff mode is given below:
This project is similar to the project Contact Management in C. In this project, I am reusing all the code from it. I created this Personal Diary Management project just by renaming printed messages, adding a few functions, and modifying existing functions slightly.
Please go through the Contact Management project if you haven't. In this project, I have explained the techniques of file handling in C.
So, in this project, I will explain the changes that I have made.
Let's start with describing data structure.
// Define Constant Variables
#define ESC 27
#define REF_SZ 10
#define DATE_SZ 64
#define MIN_TEXT_SZ 50
#define MAX_TEST_SZ 500
#define READ_ARRAY_SZ 15
#define DATA_FILE "dataFile.dat"
#define TEMP_FILE "tempFile.dat"
//Define data structure
struct data{
char refNum[REF_SZ]; //Unique reference number and auto-incremented
char noteDate[DATE_SZ]; //Auto populated using system date and time
char eventDate[DATE_SZ]; //Event date
char location[MIN_TEXT_SZ]; //Location of event happened
char eventDesc[MIN_TEXT_SZ]; //Event short description
char notes[MAX_TEST_SZ]; //Notes of the Event
};
I am using 6 variables in a structure. The variable "refNum" will be unique and it is auto-increment. The variable "noteDate" is to store note added date and it is also auto-populated using system date and time.
Other variables are:
eventDate: Event date. It can be any format chosen by the user
location: Location of event happened.
eventDesc: Event short description.
notes: Notes of the event. Maximum character is 500.
Although the variable refNum is auto-incremented, I haven't defined it as an integer. Rather than storing number value only, I decided to add '#R' as an initial character so that the unique reference value will look like "#R10001" instead of "1000".
To achieve this we have to create two separate small functions which I will describe below.
Function: getNextRef()
//Get next reference number
int getNextRef(){
struct data a;
int num=0;
fp = fopen(DATA_FILE,"rb");
if(fp!= NULL){
fseek(fp,0,SEEK_END);
fseek(fp,ftell(fp)-sizeof(a),0);
fread(&a,sizeof(a),1,fp);
// converting string to number
for (int i = 0; a.refNum[i + 2] != '\0'; i++) {
num = num * 10 + (a.refNum[i + 2] - 48);
}
fclose(fp);
return num;
} else {
return 10000;
}
}
This function will read the last item from the file and read the reference number which is the previous reference number and also the highest value. It will remove the first two characters, convert the remaining numbers into an integer data type, and return it. This function will be executed at the start of the application so if it does not find a file then it will return 1000.
Function: calRefNum(char *buff, int num)
//Calculate next reference number
static void calRefNum(char *buff, int num){
char tmpRef[REF_SZ];
char refNum[REF_SZ] = {'#','R'};
sprintf(tmpRef,"%d",num);
strcat(refNum, tmpRef);
strcpy(buff,refNum);
}
This function converts the reference number into char data type, concatenates with the "#R" initial character, and assigns it to a character pointer which is used while adding notes.
Apart from these changes I have made a few changes in readData(), add(), and view() functions. Once you compile and run it you will understand the changes.
This Mini project is compile in gcc compiler with code::blocks IDE. This project can be a good reference for those student who are doing there school project in c.Architecture of this project is very simple and easy to understand the code. Just file handling is used to store the data and corresponding function are made to manipulate the data.
The tasks provide in this program are:-
1. A : for adding new records.
2. L : for list of records.
3. M : for modifying records.
4. P : for payment.
5. S : for searching records.
6. D : for deleting records.
User are provide the above tasks.They can add records,modify and view records. Searching and deleting facilities is also provided. Download Project from GitHub
If you need to make a Mini project in c/c++ language and you are confused about the project topic then don’t worry here is the list of the Top 10 Mini Projects in c/c++ you can choose any one of them. The source code of all projects is also available. All the projects are compiled in gcc compiler with code::blocks IDE so some projects may create errors in different compilers like Turbo c/c++. If you are using Turbo c then choose another compiler it is an old compiler. The best one is the gcc/g++ compiler for c and C++.
All projects are collected by my college friends and me. Some of the projects are also edited to run in gcc compiler with code::blocks IDE from other websites. For your query and suggestion send me mail at smokindinesh@gmail.com. Projects in C++
This is simple student information system project.Wher you can do following things 1. Add Records
2. List Records
3. Modify Records
4. Delete Records
5. Exit Program
to store data file is used. Download project from GitHub.
It is a simple project just to provide a Hang Man game concept.In this project I haven’t draw a man for a wrong choice so,try to draw a simple man by using “|” pattern in your project which make your project better .
Here is the source code ,copy and compile it in Code::blocks gcc compiler or Download project from GitHub.
This mini project is written by my friend in C++ which is simple console application without graphics.This is a fee structure program It can be used for following ways:-
1.We can view the fee slip of a student of a class
2.We can also Modify the fee structure of the school
3.And View the fee structure of the school in the form of alist
The menu functions are described as follows
1. FEE SLIP: This function displays the fee slip for a givenstudent
from the class entered by the user.
2. MODIFY: This function modifies the fee structure for a give class.
The user can change the fees for various fields
3. LIST: This function displays the list of total fees for all the
Here is the source code ,copy and compile it in gcc compiler with code::blocks IDE or Download project from GitHub.
This mini project is written in C++ where you find mainly two classes one class item another class amount and class amount is inheritance form class item.It is simple console application without graphics. From this project you learn file handling in c++ and use of stream class.And main defect of this program is that goto label is used to jump form one menu to another menu and separate function for editing and deleting items are not used.So,if you want to make it your school project or college mini project then modify it ,make separate function for editing and deleting and also try to use while loop instead of goto label .Any suggestion and help for this project is appreciated .
Here is the source code ,copy and compile it in gcc with code::blocks IDE or Download project from GitHub.
In this article, we will create a contact management system in C and store data in the file. You will learn CRUD (Create, Read, Update, and Delete) operation in C files, and various modes of opening files. The main objective of this article is to give you an idea of file handling in C programming.
At the end of this article, you will learn the following items:
Break down the application into separate individual modules.
Create an application flow chart.
Convert the flow chart processes into C functions.
Learn techniques to switch between processes based on the user input.
Master the CRUD (Create, Read, Update, and Delete) operation in file handling.
You can download the final version of the application from GitHub Download from GitHub.
For a detailed explanation follow the articles below.
Chapter 1 -> Flow chart and Functions: In this article, you will learn to create a flow chart, breakdown the application into C functions, and create a Main Menu function to display options and get user input.
Hi this is a tic-tac-toe game you can copy sourcecode here or Download from GitHub.
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
#include <windows.h>
Welcome to the Mini Project Quiz in C! This article is about creating a simple quiz game in the C programming language. The target readers of this article are students and absolute beginner C programmers. If you are an experienced C programmer then it is not for you.
You will learn to break down an application into modules (functions), switch between screens based on user input, multi-dimensional array techniques, loops and so much more.
Like in other sample mini-projects, I have not used a file handling system to store information to make it simple and easy to understand basic techniques.
After finishing this article, you will:
Truly understand how to break down the application and create a flow chart.
Be able to convert the flow chart processes into C functions.
Learn techniques to switch between processes based on user input.
Have mastered the usages of multi-dimensional C arrays and loops.
You can download the final version of the application from GitHub Download from Github.
I have divided this article into 3 parts:
Part 1: Flow Chart and Main Menu: In this lesson, you will learn to create an application flow chart and create a welcome menu screen of the game. Part 2: Multi-dimensional C array: In this lesson, you will understand techniques to create a function and switching between multiple functions as per user choice. You will master how to use one-dimensional, two-dimensional, and three-dimensional C arrays to store questions, question options, and answers. Part 3: Gameplay and the final score: You will learn to use a loop to display questions one by one, check the user's correct answer, and calculate the final score.
You can also watch a video about this project on YouTube.
This mini project is about department store all features required for department store are added in this programe.You can copy the source code and compile it in a code block.This project is perfect for your college mini project in C. Download Project from Github
#define ANS 15
#define ACS 4
COORD coord={0,0}; // this is global variable
//center of axis is set to the top left cornor of the screen
void gotoxy(int x,int y)
{
coord.X=x;
coord.Y=y;
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE),coord);
}
/*declaration of checking functions*/
void c_code(char[]);
int check(char[]);
Mini project in C many Student do management project like library management ,Hotel management etc.But Snake Game is mini project of first semester build by my friend which is very different.It is console application without graphic library that's why it is more interesting.This game is perfect without any error and better user interface.It is complied in code::block using c language.Here goes a source code you can copy and compiled it in code::block.I hope it can help and become a reference for your project. Download Project from Github.
This project is my second-year mini-project. I have use the GLUT(OpenGL) library in c++.3D Bounce is a game in which we have to bounce the ball to collect the floating star,after collecting all star then a door opens for the next room. Due to lack of time, I can't complete this project but all image drawing part is completed and I hope you will complete it for your collage project.You can download it source code from this link http://www.4shared.com/file/J-cjGaN-/bounce.html .This program is written in complete object oriented environment ,I have made different class in different file and It's code is very lengthy so I can't give source code here.
The project, “Library Management in C,” is larger and more complex than my other projects, such as the Quiz game, Contact Management, and Personal Diary Management. In this project, I have implemented a variety of techniques and features, including Admin and Student modes, user security, reading and writing CSV files, and many others. This project will provide you with numerous insights. If you’re aiming for the highest grade in your project/lab assignment, I recommend following this project.
The main objective of this project is to introduce you to the following techniques and features:
Breaking down the application and representing it with a flowchart
Creating a function call stack diagram
Creating an application menu and navigating in and out of the user screens
Implementing a user login system using a username and password
Reading and writing data from and into a CSV file
Dynamic memory allocation to create dynamic array
Add and delete data from dynamic memory array.
Performing CRUD (Create, Read, Update, and Delete) operations in C file handling
Implementing many utility functions such as converting an integer to a string, a string to an integer, hiding password by displaying asterisks
In this article, I will not explain each and every function of the application. The style of creating a user menu and the technique of switching in and out of the screens, C file handling is the same as in other projects. Here, I will explain the flowchart, function call stack diagram, and major functions such as the login system, reading and writing CSV files, and other major and complex functions.
You can download the final version of the application from Github Download from Github.
I have divided this project into 4 parts. Also, please follow YouTube video to get more details about the project.