view quicktimer.c @ 0:ee518e7d265d

First Commit
author VilyaemKenyaz
date Wed, 26 Jul 2023 02:38:08 -0400
parents
children 5725e5313328
line wrap: on
line source

// This program makes a quick timer
// Im making this because I don't have internet
// to access bash documentation so you might
// as well make a good C program


#include <stdio.h>
#include <stdlib.h>
#include <string.h>
//#include <unistd,h>
#include <stdbool.h>
#include <time.h>


int main(int argc, char* argv[]){
//unsigned int timeleft;
if (argc != 1){
printf("QuickTimer by Vilyaem peepsoftgames.github.io thekenyaz@yandex.com\n Usage:\n quicktimer (unsigned int seconds)\n");
return 1;
}

unsigned int timeleft = argv[1];

printf("Timer has finished, enjoy your day. Glory to the Father, the Son, and the Holy Spirit\n");

}