I have never used a camera and I really need examples of c++ camera programming. thanks
Assuming you’re referring to this year’s camera and your using WindRiver, there is a sample program which includes several different camera tasks. You will find it in the templates menu near the standard simple robot and iterative robot samples.