how can u include a library

what does including a library do?
and how exactly can i do it?

what does including a library do?

If you don't know, how do you know that you want to do it?

and how exactly can i do it?

#include "LibraryName,h"

or

#include <LibraryName.h>

depending on where the library is located, relative to the sketch.

do i have to download the library to my computer or is writing the code#include "LibraryName,h" enough to include it in my sketch??/

do i have to download the library to my computer or is writing the code#include "LibraryName,h" enough to include it in my sketch??/

If you use a fully qualified path, you do not need to download the library. Of course, for most library repositories, you do not have a fully qualified path, or access to that server, so, yes, you need to download the library.

hesham2012:
do i have to download the library to my computer or is writing the code#include "LibraryName,h" enough to include it in my sketch??/

For most of us beginers yes, you will need to download them and install them on your local PC.

Here is a link from lady ada's web site at her tutorial. Take a look and see if it helps you understand what they are, what their function is and how to implement them.

http://www.ladyada.net/library/arduino/libraries.html

thanks alot guys