Cricket Score Management System in C with Source Code

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.

Project Name : Cricket Score Management System
Project Platform :C/C++
Programming Language Used:C Programming Language
Developer Name
IDE Tool (Recommended):Dev-C++/Codeblocks
Project Type :Desktop Application
Database:Stores data in .DAT file
Cricket Score Management System in C with Source Code Information

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.
    Extract file for Cricket Score Management System in C with Source Code

  • Step 2: Open CodeBlocks

    After that, After extracting the zip file, open your “CodeBlocks IDE”.
    Open Code blocks Apps for Extract file for Matchstick game in C with Source Code

  • 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.
gotoxy(42+25,12);printf("%c\t\t\t %c",178,178);
gotoxy(44+25,12);printf("!CRICKET SCORE SYSTEM!");
  • 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:");
                goto atish;
  • Function to Taking the overs and further calculation
char tempname[20];
    int nt;
    printf("\t\t\tEnter the number of overs:");
  • Function to Saving the data to the file
FILE *fptr;                                            
        puts("Cannot open file");
  • The function to input the match information
void welocme_message2()
    printf("\n\n\t\tEnter the match name:");
    printf("\n\t\tEnter venue:");
    printf("\n\n\t\tEnter batting team name:");
    printf("\n\t\tEnter balling team name:");

Downloadable Source Code


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.


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.

2 thoughts on “Cricket Score Management System in C with Source Code”

Leave a Comment