Coder Social home page Coder Social logo

digital-clock's Introduction

Digital-Clock

Description:

The project is based on a digital clock. This helps us when we know the present time but can’t keep a record of the future time. It is similar to a watch. Once you set the present time, it works the same way as a watch does. It also has feature called the 'Day Change Indicator'. This is an infinite loop program. One can close the terminal window for termination of the execution.


clock

Libraries used in the code:

  1. stdio.h - The header file stdio. h stands for Standard Input Output. It has the information related to input/output functions.
  2. unistd.h - The header file unistd.h is the name of the header file that provides access to the POSIX operating system API. It defines miscellaneous symbolic constants and types, and declares miscellaneous functions.

Modules used in the code:

  • time module sleep funtion - This module provides various time-related functions. Python time sleep function is used to add delay in the execution of a program. It is used to halt the execution of the program for given time in seconds.

Video links:

  1. Demo 1 (in C): https://youtu.be/2M55Bycmj7o
  2. Demo 2 (in C): https://youtu.be/XvpgKWp3Nj8
  3. Demo 1 (in Python): https://youtu.be/9T3QJolDhnY
  4. Demo 2 (in Python): https://youtu.be/e7PHqRpybYI

digital-clock's People

Contributors

ajruttam avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.