I know this question has been asked few times over SO but none of them is really helping me out, so asking again.
I am using windows xp and running visual studio c++ 2008.
All the code which i am looking is using time.h but i think may be its not working correctly here, because results are making me suspicious.
So this is what i want.
star time = get time some how (this is my question)
my code
end time = get time some how (this is my question)
time passed = start time - end time