How to Make digital Clock in C++ using Graphics (in English)

Опубликовано: 20 Март 2026
на канале: Code Seekers
813
20

---------------------------------Functions used--------------------------------------------
Setcolor(int colornumber/ColorName)
Color numbers ranges from 1 to 15
_strtime(char*)
This function picks the system time and save it in char array
_strdate(char*)
This function picks the system date and saves it in char array
settextstyle(int font,int direction,int charsize)
Used to set the font and size of the text
outtextxy(x-axis,y-axis,char*);
Used to print the text of graphic screen at xy location
setbkcolor(5)
Used to set the background color
Delay(int msec);
Delay in output
-----------------------------------------------------------
how to set code::blocks for graphics
   • Install code blocks and set it for graphics  



If you face any problem you can ask me in comments
or at [email protected]

facebook page : https://www.facebook.com/C0deSeekeRs/...

websites : for C++ https://programcodescpp.wixsite.com/p...
and https://www.codequeue.com