computer info

I have been working on learning code by my self and I was told it would be cool to be able to read the CPU temp and stuff like that so I was wondering if any one could tell he how I would read the CPU temp in cpp and I would like to expand from there my self thank you

sorry that there's no code I have no idea how to do it.


 
   HELP.
Last edited on
Take a look at this (presuming you want it for windows):

http://msdn.microsoft.com/en-us/library/windows/desktop/ms724423%28v=vs.85%29.aspx
It doesn't look to have the temp of the processors but I will use the other stuff because its nice to know
There is no standard way of doing this from C++, this is a function the OS is supposed to provide.

If you're interested in hardware or in drivers then I'd recommend you play with Linux, it's driver interface is much simpler than Windows'. Linux Device Drivers is also an excellent free text book on the subject.

Good luck!
Topic archived. No new replies allowed.