I'm a beginner in C++ and using Google task API.
How do I write a C++ program that accepts a word, then invokes Google Translate to translate it from English to French, then saves the resulted page to a local file?
For example, if the user inputs "river", the program should invoke Google Translate to translate into French, the resulting page is: http://translate.google.com/#en|fr|River%0A This page should be saved.
I read the official documentation through fully: http://code.google.com/apis/language/translate/v2/getting_started.html but I couldn't understand how to using REST and I'm not familiar with JSON or AJAX.