timer functions in c/c++

timer functions in c/c++

Page 1 of 1

2 Replies - 1493 Views - Last Post: 05 December 2009 - 01:07 AM Rate Topic: -----

#1 singhps   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 28-November 09

timer functions in c/c++

Post icon  Posted 04 December 2009 - 10:49 PM

Hi All,

I need a fuction which get's invoked after a specific interval, and check for an error in file. Pls suggest any c/c++ classes which in can use to achieve timer fuctionality.
Is This A Good Question/Topic? 0
  • +

Replies To: timer functions in c/c++

#2 JackOfAllTrades   User is offline

  • Saucy!
  • member icon

Reputation: 6246
  • View blog
  • Posts: 24,014
  • Joined: 23-August 08

Re: timer functions in c/c++

Posted 04 December 2009 - 11:05 PM

How about Boost.Asio?
Was This Post Helpful? 0
  • +
  • -

#3 taylorc8   User is offline

  • B&

Reputation: 150
  • View blog
  • Posts: 1,572
  • Joined: 21-July 09

Re: timer functions in c/c++

Posted 05 December 2009 - 01:07 AM

Don't be afraid to check out the MSDN library, you'll find lots of Windows API stuff. Helpful if you're using Windows...
http://msdn.microsof...492(VS.85).aspx
http://msdn.microsof...289(VS.85).aspx These two may help.

You may want to make another thread to do this, it's not hard. http://msdn.microsof...453(VS.85).aspx

CreateThread()


Was This Post Helpful? 0
  • +
  • -

Page 1 of 1