Write Bytes to and read Bytes from Arduino

I know this may not be the right forum to ask but speaking of arduino and processing code..anybody knows where i can get the library to learn how to program in arduino languahe..i know it's similar to C/C++ but it'll better for me to read all the libs and functions available...instead of googling every time to find an exmaple..