comparison quicktimer.c @ 0:ee518e7d265d

First Commit
author VilyaemKenyaz
date Wed, 26 Jul 2023 02:38:08 -0400
parents
children 5725e5313328
comparison
equal deleted inserted replaced
-1:000000000000 0:ee518e7d265d
1 // This program makes a quick timer
2 // Im making this because I don't have internet
3 // to access bash documentation so you might
4 // as well make a good C program
5
6
7 #include <stdio.h>
8 #include <stdlib.h>
9 #include <string.h>
10 //#include <unistd,h>
11 #include <stdbool.h>
12 #include <time.h>
13
14
15 int main(int argc, char* argv[]){
16 //unsigned int timeleft;
17 if (argc != 1){
18 printf("QuickTimer by Vilyaem peepsoftgames.github.io thekenyaz@yandex.com\n Usage:\n quicktimer (unsigned int seconds)\n");
19 return 1;
20 }
21
22 unsigned int timeleft = argv[1];
23
24 printf("Timer has finished, enjoy your day. Glory to the Father, the Son, and the Holy Spirit\n");
25
26 }