Also I'm not sure that is valid C++ (unless C++11 allows constructor params to be specified like that now and I didn't know).
Try to follow the example in the Talon SRX Software Reference manual section 3.4.
http://www.ctr-electronics.com/contr...ical_resources
...and since you are using CANTalons, you probably should look through the manual for help and examples.