nisnis84
nisnis84

Reputation: 229

I want to use Google Translate as part of some C code

I want to use Google Translate as part of a C code I am writing. I understand that Google Translate is used with JavaScript. How do I get it work as part of my C code?

How do I make a connection from my C code to the Google site?

Upvotes: 0

Views: 370

Answers (2)

Xinus
Xinus

Reputation: 30513

You can use the Google Translate API with cURL.

Upvotes: 4

unwind
unwind

Reputation: 399863

First make sure you're not violating their terms of service. Just because it's freely available on the web doesn't mean it's freely available to embed into applications.

Then look into a library that lets you "simulate" web interactions from C, such as cURL.

Upvotes: 3

Related Questions