Include in Arduino IDE

I navigated the web and could not find where to put my custom libraries for it to work in the Arduino IDE. I kept getting the error message “No such file or directory”

After long head smashing I was able to locate the directory path in windows.

C:\Program Files\arduino-1.0\hardware\tools\avr\avr\include

By putting your header.h file in this directory all you need to do is call it in your script like

#include “hearder.h”
or
#include <header.h>

or for much easier method have the the script located in the same folder as the arduino sketch and when the arduino sketch is open so does the script in the IDE

or import thru gui

To import library put in the folder
C:\Program Files\arduino-1.0\libraries