I looked for a C/C++ API for Google Voice for quite a while and never found anything close
(the closest was a C# API). Since I really needed it, I decided to just write one myself:
http://github.com/mastermind202/GoogleVoice
I hope others find it useful. Feedback and suggestions welcome.