On Jan 6, 2008 3:50 PM, Nico Heinze <[EMAIL PROTECTED]> wrote: Gopi Krishna Komanduri wrote: > > Could anyone of you please help me out. I need to write a > > code in such a way that , The code should call a function > > which prints some random number for every 10 seconds. > > The issue what I am facing is once the control; goes into > > function , initially I can get the starting time. But I > > am unable to solve how my system will lemme know after > > 10 seconds. I don't want to implement threads concept. > > I don't want to ping time for every moment ( for > > optimisation purpose) . > > That requires you to first tell us what OS you work with, what > compiler, what IDE. Only then we can give you any educated advice.
Gopi, did you understand what Nico is saying? What is your Operating System? Windows? What IDE are you using, Visual Studio? No one can tell you what to do unless you give us these specifications.
