DHT22 (AM2302) working with DHTLib and not with Adafruit library [SOLVED]

Dear all,

I would like to understand the following:

I have connected a DHT22 to pin 4 of the Arduino Uno using a 10k resistor as pull up.
I loaded the example (configuring pin 4) of the Adafruit library and it works good (GitHub - adafruit/DHT-sensor-library: Arduino library for DHT11, DHT22, etc Temperature & Humidity Sensors).

Now I have a breadbord arduino ATmega 328u-pu (arduino pro 3.3v, 8Mhz), I did the same connection and loaded the same examples. But it always read 0 for both temperature and humidity.

If, instead, I load the DHTLib ( Arduino Playground - DHTLib) it works fine..

Can anyone help me understand why one is not working and the other one does?

Thank you,
dk

I was able to solve using:

DHT dht(DHTPIN, DHTTYPE, 4);

I would like to ask about the connection on the breadboard: Can anyone show a picture me how is the connection on the breadboard? I am pretty new and I am learning still how to make the connections...