https://github.com/stijncaerts/countdown-c
countdown to New Year, coded in C using the ncurses library
https://github.com/stijncaerts/countdown-c
countdown ncurses-library
Last synced: 16 days ago
JSON representation
countdown to New Year, coded in C using the ncurses library
- Host: GitHub
- URL: https://github.com/stijncaerts/countdown-c
- Owner: StijnCaerts
- License: mit
- Created: 2015-12-28T09:21:00.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-10-11T17:05:45.000Z (over 9 years ago)
- Last Synced: 2025-01-15T08:21:15.088Z (over 1 year ago)
- Topics: countdown, ncurses-library
- Language: C
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Countdown in C
This project is a small countdown-timer to New Year, coded in C using the ncurses library.
## Features
- automatically selects the next year transition, based on the system time
- countdown in the format DDD HH:MM:SS
- format changes as the time ticks away, eg. HH:MM:SS to MM:SS to SS to S
- runs in the terminal
- timer in ASCII-art
- coded in C
- uses the ncurses library
- makefile included
## How to use?
1. compile the code, using the make file, or enter the compile command manually:
`make` or `gcc -o countdown countdown.c -lncurses -std=c99`
2. run the compiled executable:
`./countdown`
## License
See the [LICENSE](LICENSE) file for license rights and limitations (MIT).