C++ code in WindRiver

We were just deploying some basic default drive code to our robot and it does not seem to be working the way we want it to and we are not that savvy in C++ so i was wondering if anyone can post some basic C code that just makes the robot move straight and backwards in tank drive.

I PMed you, we had a similar problem with getting the tank drive to work properly…