DHT22 for Raspberry Pi with WiringPi
Try use DHT22 with Raspberry Pi 3! Tested by Raspbian Stretch (ver. Sep. 2017) and WiringPi v2.44.
$ sudo apt-get install git-core
$ git clone https://github.com/ccoong7/DHT22.git
$ cd ~/DHT22
$ gcc -o dht22.out dht22.c -lwiringPi
$ ./dht22.out
Visit my blog and get more information. (in Korean)