Why don’t you post what you want to do … in your own words. Do you have any prior experience writing code for the Arduino (or other platform) ? Perhaps you should read the Arduino fundamentals pages.
http://arduino.cc/en/Tutorial/Foundations#.Uy9VbYUVBrA
http://arduino.cc/en/Tutorial/Sketch#.Uy9Vf4UVBrA
http://arduino.cc/en/Reference/Setup#.Uy9VoYUVBrA
http://arduino.cc/en/Reference/Loop#.Uy9Vt4UVBrA
http://arduino.cc/en/Tutorial/HomePage#.Uy9V14UVBrA
To use the functions (or methods as I think they are properly called) that a library provides, you “include” the library by placing a #include <library-name.h> statement near the top of your sketch. In your case …
#include <Carduino.h>
You then invoke an instance of the library and give it a name. The example code used …
Carduino mycarduino;
… but you can use any name you want in place of mycarduino, like …
Carduino carbot;
… in which case you’d use this to initialize the code in the setup() region.
carbot.begin();
… instead of the example’s …
mycarduino.begin();
Those library functions would be :
begin(); (do this in setup() to initialize the code for the functions below)
goforward(float seconds, int speed);
goback(float seconds, int speed);
turnright(int time);
turnleft(int time);
proximity();
You use the function needed to make the bot do what you want it to do. Some functions require some added info (aka arguments) in order for them to do their job. Looking at the examples coding is probably the best way to learn the library functions and what arguments they need.