How can I make a countdown timer with pic and voice

Hi there
I want to make a countdown timer to let the system begin like 3,2,1 go! with the pic of number and voice.
I have try to use the time(0) to count but it does not work well. So how can I do it.
And then when the system has begin I want to save the date for 10 sec too.
#include <stdio.h>
#include <time.h>

int main()
time_t last = time(0);
time_t next;
int pastSec = 0;

if (time(&next) != last)
{ last = next;

return 0;