Student Attendance Management System in C Language w/ Source Code
This Student Attendance Management System Project in C is a consoled based application created using c programming language. This system is a simple mini project and compiled in Code::Blocks IDE using GCC compiler. To gain access, the user must first log in, after which the user can create new student records, maintain attendance, and view attendance.
A Student Attendance Management System using C language is an easy project for beginners to learn how to build a web-based C language project. We will provide you with the complete source code for the C project so that you can easily install it on your machine and learn how to program in C language.
This Student Attendance Management System in C Framework, Also includes a Download Source Code for free, just find the downloadable source code below and click download now.
Anyway if you want level up your knowledge in programming especially C/C++ Programming Language, try this new article I’ve made for you Best C Projects with Source Code for Beginners Free Download 2022.
To start creating a Student Attendance Management System in C Language , make sure that you have a Code Blocks or any platform of C installed in your computer.
ABOUT PROJECT | PROJECT DETAILS |
---|---|
Project Name : | Student Attendance Management System |
Project Platform : | C/C++ |
Programming Language Used: | C Programming Language |
Developer Name : | itsourcecode.com |
IDE Tool (Recommended): | Dev-C++/Codeblocks |
Project Type : | Desktop Application |
Database: | Stores data in .DAT file |
Upload Date and Time: | July 12, 2021-8:01 am |
Features of Student Attendance Management System in C Language w/ Source Code
- Student Weekly Progress – For the student weekly progress, the admin can view the student weekly progress.
- View Particular Student Attendance – For the particular student, the user can view all the particular student.
- View Name of student – For the Name of student, the admin can view the student name who registered.
- Edit Attendance – For the edit attendance, the admin can edit student information.
- Exit – For the exit, the user can also exit in the system.
Student Attendance Management System in C Language Steps on How to Create a Project
Time needed: 5 minutes.
Here’s the step’s on how to create a Student Attendance Management System in C with Source Code.
- Step 1: Create a new project.
First open the code blocks IDE and click “create a new project“.
- Step 2: Choose console application.
Next, click the “console application” and after that click “next“.
- Step 3: Choose C language.
Then , choose “C language” and click “next“.
- Step 4: Name your project.
Lastly, name the project you’ve created and click “next” after that click “finish“.
- Step 5: The actual code.
Finally, we will now start adding functionality to our C Framework by adding some functional codes.
Functionality and Codes of the Student Attendance Management System in C Language w/ Source Code
- Create to display menu in Student Attendance Management System Project in C.
In this section, we will learn on how create a menu to display in the screen. To start with, add the following code in your main.c
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
int main(){ char uname[]="admin"; char password[]="admin123"; char ckeckinguser[20]; char checkingpassword[20]; readingData(NAMES, REG_NO, PERCENTAGE, WEEK_PROGRESS); box(); goSideDown(26,5); printf("ADMINISTRATOR LOGIN"); goSideDown(24,7); goSideDown(20,10); printf("Username:- "); scanf(" %[^\n]", ckeckinguser); goSideDown(20,14); printf("Password:- "); scanf(" %[^\n]", checkingpassword); if(strcmp(ckeckinguser, uname)==0){ if((strcmp(checkingpassword, password)==0)){ first_switch(); } else thankyou(); } else{ thankyou(); } |
- Create exit window in Student Attendance Management System Project in C.
In this section, we will learn on how create a exit window. To start with, add the following code in your main.c
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
void logExit(){ int c; printf("\n\n\n\n\n\t\t\t\t 1. back \n\t\t\t\t 2. exit "); printf("\n\nSelect(1/2):- "); scanf("%d", &c); if(c==1){ first_switch(); } else if(c==2){ system("cls"); printf("\n\n\n\n\n\n\n\n\n\t\t\tThank You, Visit again !!"); exit(0); } } |
- Create edit attendance window in Student Attendance Management System Project in C.
In this section, we will learn on how create a edit attendance window. To start with, add the following code in your main.c
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
void edit_attendance(){ long int number; system("cls"); float add; int choice; box(); goSideDown(25,5); printf("\n\n\t\t\t***Edit Attendance***"); printf("\n\n\t\tyou want to:- "); printf("\n\n\n\t\t\t 1. Increase Attendance"); printf("\n\n\t\t\t 2. Decrease Attendance"); printf("\n\n\t\tSelect(1-2):- "); scanf("%d", &choice); if(choice ==1){ system("cls"); box(); goSideDown(20,6); printf("\n\n\t\tEnter the registration number of student:- "); scanf("%ld", &number); int code = find_by_reg_no(number); printf("\n\n\t\tHow many percent you want to add:- "); scanf("%f", &add); system("cls"); box(); goSideDown(20,6); candle[code].attendance_percent+=add; printf("\n\n\t\t\t*** %s ***\n\n\t\t\t\t*** %lu ***\n\n\t\t\t attendance increamented by \n\n\t\t\t\t*** %0.2f ***", candle[code].names,candle[code].reg_no, add); printf("\n\t\tEarlier attendance:- %0.2f%%", candle[code].attendance_percent-add); printf("\n\t\tPresent attendance:- %0.2f%%", candle[code].attendance_percent); } else if( choice ==2){ system("cls"); box(); goSideDown(20,6); printf("\n\n\t\tEnter the registration number of student:- "); scanf("%ld", &number); int code = find_by_reg_no(number); printf("\n\n\t\tHow many percent you want to decrease:- "); scanf("%f", &add); system("cls"); box(); goSideDown(20,6); candle[code].attendance_percent-=add; printf("\n\n\t\t\t*** %s ***\n\n\t\t\t\t*** %lu ***\n\n\t\t\t attendance decremented by \n\n\t\t\t\t*** %0.2f ***", candle[code].names,candle[code].reg_no, add); printf("\n\t\tEarlier attendance:- %0.2f%%", candle[code].attendance_percent+add); printf("\n\t\tPresent attendance:- %0.2f%%", candle[code].attendance_percent); } else{ char y_n; printf("\n\t\tInvalid input !!"); printf("\n\n\t\tDo you want to try again (y/n):- "); scanf(" %c", &y_n); if(y_n=='y'){ edit_attendance(); } else exit(0); } logExit(); } |
- Create to all student display window in Student Attendance Management System Project in C.
In this section, we will learn on how create the all student display window. To start with, add the following code in your main.c
1 2 3 4 5 6 7 8 9 |
void all_student_display(){ system("cls"); printf("\n\n\t\t*** CHMSC Attendance Record ***\n"); printf("\n\t\tAttendance\t\tNames\n\n"); for(int i=1; i<63; i++){ printf("\n\t\t%0.2f%%\t\t%s", candle[i].attendance_percent, candle[i].names); } logExit(); } |
Downloadable Source Code
Summary
In summary, this 2021 Student Attendance Management System in C Language w/ Source Code can be useful to students or professional who wants to learn C Programming Language. This project can also be modified to fit your personal requirements. Hope this project will help you to improve your skills. Happy Coding!
Related Articles
- Library Management System Project In Python and MySQL
- Simple Hospital Management System In C With Source Code
- Library Management System Project in VB.Net With Source Code
- Online Library Management System in PHP Source Code
- Student Management System Project in Python with Source Code
- Online Student Registration System Project in PHP
Inquiries
If you have any questions or suggestions about Student Attendance Management System in C Language w/ Source Code, please feel free to leave a comment below.
I need this source code at any cost please share password with me
Tumko mil Gaya kya ye project?plz share with me