I'm typing this in at home so it might have a few typos:
Code:
#include <AnalogChannel.h> // include all the AnalogChannel definitions
AnalogChannel turretPosition * = new AnalogChannel(1) // declare a pointer to an Analog Channel and allocate a channel
float turretPosDumb;
turretPosDumb = turretPosition->GetVoltage();
The -> style of accessing a function tells the C++ compiler that you are using a pointer.