There is also a video here:
http://www.youtube.com/user/BradAMil...ow=grid&view=1
(look at the RobotBuilder playlist) that shows how to build a complete program using RobotBuilder. The example is with Java, but the C++ code is almost the same. I think you'd get the idea.
Brad