C
cpptutor2000
Could some C guru suggest some possible solution to my problem? I am
trying to simulate a clock and I have tried using 'gettimeofday' and
some related C library functions, but I am not getting what I want -
the clock should be ticking away on its own, and from time to time, an
observer will
read the clock value, and decide to do something else. Any hints,
suggestions would be greatly appreciated. Thanks in advance for your
help.
trying to simulate a clock and I have tried using 'gettimeofday' and
some related C library functions, but I am not getting what I want -
the clock should be ticking away on its own, and from time to time, an
observer will
read the clock value, and decide to do something else. Any hints,
suggestions would be greatly appreciated. Thanks in advance for your
help.