Table Tennis Match Manager (C Program)
This is a simple C program to manage and track Table Tennis matches. It allows users to record new matches, view player statistics, check the leaderboard, and browse all match history — all stored in a file-based system.
🏓 Features
Add a New Match
Input player names and scores
Automatically stores match data in a file
Search Player Statistics
Enter a player’s name to view their win/loss record, matches played, etc.
Leaderboard
Displays a ranking of players based on performance (e.g., wins)
View All Past Matches
Lists all matches recorded so far with details
💾 Data Handling
Match data is stored in a text file (e.g.,
matches.txt)Each match includes:
Player 1 name
Player 2 name
Scores
Winner
🛠 Running the Program
Option 1: Open with Code::Blocks (Recommended)
Open Code::Blocks.
Go to File → Open.
Select the
.cbp project file (e.g., table_tennis.cbp).Click Build and Run (or press
F9).Option 2: Compile Manually (Alternative)
If you prefer to compile outside Code::Blocks using GCC:
0 likes · 14 views · Jul 6, 2025
Developed a C program for managing Table Tennis matches with player stats and leaderboard.