PDA

View Full Version : clock in ANSI C



jrck
November 10th, 2010, 10:43 PM
Hello,

I am a student of Thomas Bata University in Czech republic. I got Semester Project from professor. So I got a clock in graphics library SDL, which takes time from the system. I don't know, where to start. Any ideas please?

My opinion is that I have created a lot of time with each picture (professor said that just after 5 minutes and then overlapped the images of each other. This means that for one hour I had 12 pictures). But i don't know, how I get time from the system.

Thank you very much. Jaroslav

trent.josephsen
November 11th, 2010, 01:55 AM
$ man 3 time
should give you more than you ever wanted to know