Calculating time by the C++ code
<p>I know this question has been asked few times over SO but none of them is really helping me out, so asking again.</p>

<p>I am using windows xp and running visual studio c++ 2008.</p>

<p>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.</p>

<p>So this is what i want.</p>

<pre><code>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
</code></pre>
