get cpu temp in c++ or visual studio
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1195112/how-to-get-cpu-temperature">How to get CPU temperature?</a>  </p>
</blockquote>



<p>I'm working on amking a cooling system for an overclocked computer, but I need to get the cpu temp. anyone know of a c++ or visual studio code that would do this? java works as well. thanks.</p>
