- Table of contents
- Description
- What's included
- Features
- Notes
- Compile and Run
- Creators
- Copyright and license
Sports TV management program written in C language. The goal is to automate the choice of match to broadcast on a given day.
Repository structure
folder_name/
├──── main.c
├──── TV_LLC_BIBLIO.c
├──── TV_LLC_BIBLIO.h
├──── rang.txt
├──── Equipes.txt
└──── images
-
Choose the match to broadcast from the schedule and team ranks and display it.
-
Enter match results at the end of the day.
-
Update the rank file "rang.txt".
-
Create a rank file for each
-
A rank text file "rang.txt" in which the data of each team in the championship: Rank: rank of the team in the championship from 1 to 16- Eq: Name of a team formed by 10 characters maximum
- Npt: Total points of the team
- NbJ, NbG, NbN, NbP: number of games played, won, drawn and lost of the team
- BP and BC: for goals scored and conceded
- And finally Diff which represents the difference between the goals scored and the goals conceded by each team
-
This file is considered completed for the previous X-1 days. The fields are separated by blank space and each team will be on a different line.
For each match, the names of the teams will be taken from the schedule of the daytime.
Compile : gcc -Wall main.c TV_LLC_BIBLIO.c -o prog
Run : prog
Code and documentation copyright the authors. Code released under the MIT License.