OT Maybe Programming question

Richard R. Sivernell res005ru
Mon May 17 11:39:25 PDT 2004


List C++ programmers or Kurt or David B.

- Writing a small program for a college course and almost there. Using
c++, I am using a an object called Agent, & it must travel a torus, that a 
gride of x by y. When you get to an end, you jump to the other end. Its
a math thingy, All is working well except I need to write to a log file every
60 seconds the number of moves the object has performed. I have created 
a timer object, but executing 2 ques at once in Linux I do not know. My
question is an alarm the really only way to do this and it call a callback
function or is there a better way. At this time I do not want to put this 
in a thread unless that is the only way.  Any suggestions are welcomed here.

  Kurt you Linux Programming book has been nothing short of real blessing 
since I bought it, thanks. I have put the Message Que into a class and it works 
great, using the info from your book. The other Linux Programming book by 
Stones and Matthew is OK, justnot the quality of your.

cheers

- 
Rick Sivernell
Dallas, Texas  75287
972 306-2296
res005ru at gte.net
Caldera Open Linux eWorkStation 3.1.1
Registered Linux User

   .~.
  / v \
 /( _ )\
   ^ ^
In Linux we trust!


More information about the Linux-users mailing list