own library: problem with code as well as while importing project.h file

I have created my own library for the sensor DHT11 humidity sensor.
But I am unable to run my code.
As I encounter the fatal error: No such file or directory - project.h file

Could someone please help me out.
I have attached my code below.

Also do let me know, if my code is correct or have I made some errors.

Thank you

Don’t post pictures of text! That is very unhelpful.

When you encounter an error you’ll see a button on the right side of the orange bar “Copy error messages”. Click that button. Paste the error in a message here USING CODE TAGS (</> button on the toolbar).

Also post your code directly in the forum post, again using code tags.

It is almost never appropriate to post screenshots but in some cases it is helpful to post images. You should attach and embed the image following these instructions:

I don’t see any mention of project.h in your code.

DON'T CROSS POST!!!!!!!!!!!!!!!!!!!! http://forum.arduino.cc/index.php?topic=487235 REPORTED If you had taken the time to respond on that thread instead of ignoring it and then creating two duplicates your problem would have been solved a week ago.

I apologize, I am new to this forum.
I will make note of what you said and repost.
One more thing, I am new to Arduino coding and not into programming, so I am sure you would come across many errors, do let me know where I went wrong.

<Arduino: 1.6.1 (Windows 7), Board: “Arduino Uno”

DHT.ino:1:17: fatal error: DHT.h: No such file or directory

compilation terminated.

Error compiling.>

(I came across the above error while compiling all the three files.)
(By project.h, I meant dht.h.)

DHT.h

#ifndef DHT_h //prevents problems if someone accidently #include’s your library twice
#define DHT_h
#include "Arduino.h“ // access to the standard types and constants of the Arduino language
#define Tc

class DHT{
public: //can be accessed by anyone using your library
DHT(int pin); //all the variables and functions needed are defined here
float celsius();
float fahrenheit(celsius); //on the right is a constructor
long saturated_vapor_density();
float actual_vapor_density();
float relative_humidity();
double dewPoint;
private: // can be accessed within the class itself
int _pin;
};
#endif

DHT.cpp

#include "Arduino.h
#include “DHT.h”
{
pinMode(pin, INPUT);
_pin = pin;
}
float celsius
{
cel = (analogRead(_pin500)/1023);
}
float fahrenheit(float celsius)
{
fah = 1.8
cel + 32;
return fah;
}
long saturated_vapor_density()
{
s_v_d = 6.335 + 0.6718Tc – 2.0887
10-2(Tc2) + 7.3095(104)(Tc3); //it is Tc to power of 1,2,and 3
//and 10 to power of -2 and 4
}

float actual_vapor_density = 1.156;
float relative_humidity(){
r_h = (actual_vapor_density/s_v_d);
}
double dewPoint(){
d_p = Tc – ((100 – r_h));
}

/Tc is taken to be 25 degree – as this is the ideal temperature. Any value can be taken.
For 25 degree, the value obtained for actual vapor density is 1.156 g/m3.
Humidity is the actual vapor density by the saturated vapor density and is found to be 5% as in the datasheet.
/

KEYWORDS.txt

DHT KEYWORD1
celsius KEYWORD2
fahrenheit KEYWORD2
saturated_vapor_density KEYWORD2
relative_humidity KEYWORD2
dewPoint KEYWORD2

DHT.ino

#include “DHT.h”
#define DHTPIN 4 //the pin sensor is connected to
#define DHTTYPE DHT11
DHT dht(DHTPIN, DHTTYPE);
void setup()

{
Serial.begin(9600);
}
void loop {
delay(2000); //wait for few seconds before measurements
float fah = dht.fahrenheit();
long s_v_d = dht.saturated_vapor_density();
float r_h = dht.relative_humidity();
double d_p = dht.dewPoint();
Serial.print(“Temp in Fahrenheit: ”);
Serial.print(fah);
Serial.print(“F%t”);
Serial.print(“Saturated_Vapor_Density: ”);
Serial.print(s_v_d);
Serial.println(“ gm/m3 ”);
Serial.print(“Relative Humidity: ”);
Serial.print(r_h);
Serial.print(“ %\t ”);
Serial.print(“Dew Point: “);
Serial.print(d_p);
Serial.println(‘ ’);
}

Datasheet

http://www.micropik.com/PDF/dht11.pdf

ERROR:

<Arduino: 1.6.1 (Windows 7), Board: “Arduino Uno”

DHT.ino:1:17: fatal error: DHT.h: No such file or directory

compilation terminated.

Error compiling.>

(I came across the above error while compiling all the three files.)

Below are my files.
Do help me out please, new to arduino n programming.
Thank u

DHT.h

#ifndef DHT_h //prevents problems if someone accidently #include’s your library twice
#define DHT_h
#include “Arduino.h” // access to the standard types and constants of the Arduino language
#define Tc

class DHT{
public: //can be accessed by anyone using your library
DHT(int pin); //all the variables and functions needed are defined here
float celsius();
float fahrenheit(celsius); //on the right is a constructor
long saturated_vapor_density();
float actual_vapor_density();
float relative_humidity();
double dewPoint;
private: // can be accessed within the class itself
int _pin;
};
#endif

DHT.cpp

#include "Arduino.h
#include “DHT.h”
{
pinMode(pin, INPUT);
_pin = pin;
}
float celsius
{
cel = (analogRead(_pin500)/1023);
}
float fahrenheit(float celsius)
{
fah = 1.8
cel + 32;
return fah;
}
long saturated_vapor_density()
{
s_v_d = 6.335 + 0.6718Tc - 2.0887
10-2(Tc2) + 7.3095(104)(Tc3); //it is Tc to power of 1,2,and 3
//and 10 to power of -2 and 4
}

float actual_vapor_density = 1.156;
float relative_humidity(){
r_h = (actual_vapor_density/s_v_d);
}
double dewPoint(){
d_p = Tc - ((100 - r_h));
}

/Tc is taken to be 25 degree - as this is the ideal temperature. Any value can be taken.
For 25 degree, the value obtained for actual vapor density is 1.156 g/m3.
Humidity is the actual vapor density by the saturated vapor density and is found to be 5% as in the datasheet.
/

KEYWORDS.txt

DHT KEYWORD1
celsius KEYWORD2
fahrenheit KEYWORD2
saturated_vapor_density KEYWORD2
relative_humidity KEYWORD2
dewPoint KEYWORD2

DHT.ino

#include “DHT.h”
#define DHTPIN 4 //the pin sensor is connected to
#define DHTTYPE DHT11
DHT dht(DHTPIN, DHTTYPE);
void setup()

{
Serial.begin(9600);
}
void loop {
delay(2000); //wait for few seconds before measurements
float fah = dht.fahrenheit();
long s_v_d = dht.saturated_vapor_density();
float r_h = dht.relative_humidity();
double d_p = dht.dewPoint();
Serial.print("Temp in Fahrenheit: ");
Serial.print(fah);
Serial.print(“F%t”);
Serial.print("Saturated_Vapor_Density: “);
Serial.print(s_v_d);
Serial.println(” gm/m3 ");
Serial.print("Relative Humidity: “);
Serial.print(r_h);
Serial.print(” %\t ");
Serial.print("Dew Point: ");
Serial.print(d_p);
Serial.println(’ ');
}

Datasheet

http://www.micropik.com/PDF/dht11.pdf

I think that on problem is in below

#include "Arduino.h
#include "DHT.h" 
{    
 pinMode(pin, INPUT);
 _pin = pin;                   
}

Shouldn't there be a function name after the includes?

E.g.

#include "Arduino.h
#include "DHT.h" 
void somefunc(int pin)
{    
 pinMode(pin, INPUT);
 _pin = pin;                   
}