HI all, I am a newbie on C++ programming

What I need is a precise timer(to ms at least I think), is there a function which can get the system time, set time. count?

if there is a function or class....what is the corresponding function on linux?

Thanks a lot!

Also hope you guys can tell me some good resource of C++ online.