Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用谷歌翻译作为我正在编写的 C 代码的一部分。我了解 Google 翻译与 JavaScript 一起使用。如何让它作为我的 C 代码的一部分工作?
如何从我的 C 代码连接到 Google 站点?
您可以将Google Translate API与cURL一起使用。
首先确保您没有违反他们的服务条款。仅仅因为它在网络上免费提供并不意味着它可以免费嵌入到应用程序中。
然后查看一个库,它可以让您从 C 中“模拟”Web 交互,例如cURL。