HEY, i need to display the current time and date in my program and use variable to store each of the time values like
a = 10
b = 29
c = 31
printf(``%d : %d : %d``, a,b,c);
which then give the output as -
10:29:31
any ideas how to save the time in variables in C....
i am using C in windows 7 and my complier is Bloodshed Dev C++