# 使用C

因为Internet Computer支持应用编译到标准的WebAssembly模块，您能用C, C++, Objective-C和Objective-C++语言标准编译器和工具和Clang编译器来生成应用程序。

为了说明如何迁移用C编写的程序以在Internet Computer上运行，让我们看一下[示例库](https://github.com/dfinity/examples/tree/master/c)中的简单reverse.c程序。reverse.c程序包含一个名为go的函数，该函数可以反转字符串。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mixdao.gitbook.io/dfinity/san-shou-ba-shou/4.-shi-yong-bu-tong-yu-yan-kai-fa/shi-yong-c.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
