This Cricket Score Management System Project in C Language is a simple console application created using C programming language. It employs file handling to store data such as runs, wickets, overs, and extras, among other things.
The program may show runs, wickets, batsman and bowler names, overs, extras, bowler economy, batsman strike rate, and so on. It also shows the game’s start and end times.
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 2020.
To run this Cricket Score Management in C make sure that you have a Code Blocks or any platform of C installed in your computer.
Please scroll down and click the download button to obtain a free copy of the Cricket Score Management project.
| ABOUT PROJECT | PROJECT DETAILS |
|---|---|
| Project Name : | Cricket Score 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 |
Cricket Score Management System in C Steps On How To Run The Project
Time needed: 5 minutes
Here’s the step’s on how to run a Cricket Score Management System in C with Source Code.
- Step 1: Extract file.
Next, after you finished download the source code, extract the zip file.

- Step 2: Open CodeBlocks
After that, After extracting the zip file, open your “CodeBlocks IDE”.

- Step 3: Open Project.
Then, open file tab and Open File after that open folder RRS-IN-C then click the “main“.

- Step 4: Run Project
Lastly, Open build tab and select build and run or you can use key F9.

- Step 5: The actual code.
Finally, You are free to copy the given source code below or download the downloadable source code given.
This Cricket Score Management System in C was build and run under Code::Blocks IDE.
- The project begins by displaying the welcome screen, which fades up to reveal the main menu.
delay_timer(1000);
gotoxy(37+25,9);printf("\t\t!!!WELCOME!!!");
delay_timer(1000);
gotoxy(43+25,10);printf("{+}\t\t\t{+}");
gotoxy(53+25,10);printf("TO");
delay_timer(1000);
gotoxy(42+25,12);printf("%c\t\t\t %c",178,178);
gotoxy(44+25,12);printf("!CRICKET SCORE SYSTEM!");
delay_timer(1000);
printf("\n\n");- There are three options on the main menu: First: New Scoresheet, Second: Existing Scoresheet and the Last:Exit
printf ("\n\n\t\tCHOOSE ANY ACTION:\n");
printf("\t\t1.NEW SCORESHEET!!\n\t\t2.EXISTING SCORESHEET!!\n\t\t3.EXIT!!\n");- If ‘1′ is entered, the Cricket Score Sheet project prompts for a new score sheet’s name. A message appears on the screen when the file is created.
printf("\n\t\t\tEnter the bowler name:");
gets(tempname);
for(h=0;h<=z;h++)
{
if(strcmp(tempname,game.bowler[h].name)==0)
goto atish;
}
strcpy(game.bowler[z].name,tempname);
h=z;
z++;- Function to Taking the overs and further calculation
char tempname[20];
int nt;
fflush(stdin);
printf("\t\t\tEnter the number of overs:");
scanf("%d",&nt); - Function to Saving the data to the file
FILE *fptr;
fptr=fopen("cricbuz.DAT","rb+");
if(fptr==NULL)
{
fptr=fopen("cricbuz.DAT","wb+");
if(fptr==NULL)
{
puts("Cannot open file");
}
}- The function to input the match information
void welocme_message2()
{
fflush(stdin);
printf("\n\n\t\tEnter the match name:");
gets(game.name);
printf("\n\t\tEnter venue:");
gets(game.venue);
printf("\n\n\t\tEnter batting team name:");
gets(game.teambat);
printf("\n\t\tEnter balling team name:");
gets(game.teambowl);
}Downloadable Source Code
Conclusion
This Cricket Score Management System in C with Source Code is only a project made for school requirement purposes only. A Cricket Score Management System in C language was created specifically for a semester project.
\It aims to give beginners a good understanding of programming small to large projects by imparting general workable and practical information about C.
You can download this program and modify it to suit your client requirements, since this is a student project it means you cannot really expect 100% functionality from this.
Related Articles
Inquiries
If you have any questions or suggestions about Cricket Score Management System in C with Source Code, please feel free to leave a comment below.
Frequently Asked Questions
How does this C / C++ management system work?
Console application using struct arrays OR file-handling (fopen/fread/fwrite) for persistence. CRUD operations via numbered menu. Compile via gcc (C) or g++ (C++). Foundation BSIT 1st-2nd year mini-project.
What compiler do I need to run this C or C++ project?
For C: gcc (GNU Compiler Collection) or MinGW (Windows). For C++: g++. IDE options: Code::Blocks (lightweight, built-in compiler), Dev-C++ (classic Philippine BSIT favorite), Visual Studio Code with C/C++ extension, CLion (paid). To compile from terminal: gcc program.c -o program (for C) or g++ program.cpp -o program (for C++), then run with ./program (Linux/macOS) or program.exe (Windows).
How do I run this C / C++ project?
Open the .c or .cpp file in your IDE (Code::Blocks, Dev-C++, VS Code). Click Build (or press F9), then Run (or press F5). From terminal: navigate to project folder, run gcc/g++ command above, then ./program. If using file storage, make sure the data file (e.g. records.txt) is in the same folder as the executable.
Can I use this C / C++ project for a BSIT capstone or thesis?
C/C++ projects are usually accepted for 1st-2nd year mini-projects or as building blocks. For a full capstone you would typically pair them with a more interactive frontend (e.g. wrap C++ logic with a Java/Python/PHP frontend, or extend to GTK/Qt for a real GUI). Standalone console C++ capstones are accepted by some panels but rare in 2026.
Why am I getting ‘undeclared identifier’ or ‘cannot find header’ errors?
Three common C/C++ issues: (1) Missing #include directive, e.g. #include
Where can I find more C or C++ projects with source code?
Browse the C and C++ Projects hub for the full library. For Java desktop alternatives see Java Projects. For higher-level languages see Python Projects. For BSIT capstone idea lists see 150 Best Capstone Project Ideas.





can i know the password of the source code
Passsword: itsourcecode