Skip to content

countdown to New Year, coded in C using the ncurses library

License

Notifications You must be signed in to change notification settings

StijnCaerts/countdown-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 file for license rights and limitations (MIT).

About

countdown to New Year, coded in C using the ncurses library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published