Skip to content

PriyanshuJajal/Digital-Clock-in-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Digital-Clock-in-C

This project is a Digital Clock application built using the C programming language.
It runs directly in the terminal and displays the current time in HH:MM:SS format according to your choice of time format i.e. 12-Hour Format or 24 Hour Format, updating every second.

Features :

  1. Real-time clock display in the console.
  2. Automatically updates hours, minutes, and seconds.
  3. Simple and minimal UI.
  4. Utilizes standard C libraries.

Technologies Used :

Language: C
Library: <time.h> for retrieving and manipulating system time.
System Functions: Used for creating timed delays (sleep() or Sleep() depending on OS).

What I Learned :

Handling system time in C.
Implementing loops for real-time updates.
Using terminal output formatting.

Contribution :

Contributions are welcome! Feel free to fork the repository and submit a pull request.

Feedback :

Feedback is always appreciated!
Let me know if you have suggestions for improvements or ideas for additional features.

About

Made a Digital Clock in C , eventually increases the knowledge of C and its library functions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages