Hm, I bought that sensor and got the code from that supplier.
What surprised me there were different files to download.
The "code.txt " , opened it and with copy and pasted it into Sketch.
I was surprised that i saw the#include " and then the error.
I copied it all together in 1 folder , the sketch, The .ccp and the .h .
Still the compilor does not find it , despite i pick it up all together in 1 folder.
hmm , i think now , "Does the system look / search in a different place ?
I am reading the rules now. Sorry to be so rude , fist issuing my problem without suppliing the right info.
Hmm, no R mouse button to paste. Have to find it out. Sorry
If you have the files you want to include in the sketch folder you're using the wrong syntax. It should be:
#include "dht11.h"
If putting the files in the sketch folder is what you actually want to do, then fine, but don't use it as a workaround because you don't know how to install a library properly because that's an important skill to learn. The advantage to installing the files as a library is that you can share those files between multiple sketches, rather than needing to put a copy of them with every sketch that requires them.
You can find some information on manually installing libraries here: