help about DAC

I am using ( MCP4921 ) -DAC with arduino mega to get analog voltages .
kindly how to help me to coding arduino in this case

Third suggestion from Google on the DAC supplies code.

Take a look here:

sorry MR.Railroader
what's first and second suggestion of googles

It was the third suggestion using my mobile. What about this link?

Google will show you examples like this one, if you try.
http://forum.arduino.cc/index.php?topic=197054.0