Think you need to read about libraries again (and carefully - http://www.arduino.cc/en/Reference/Libraries - If that does not help you may try - http://arduino.cc/playground/Main/DHTLib - tested for both DHT11 and DHT22 (with Arduino 0.22)
I've tried it in arduino 1.0 and I just had to change Wprogram.h to Arduino.h in dht.h and it worked.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16