# Page Not Found

The URL `chapter7-0-chinese/some_url.com/foo` does not exist. This page may have been moved, renamed, or deleted.

## Suggested Pages

You may be looking for one of the following:
- [第7章 字符串, 流和正则表达](https://chenxiaowei.gitbook.io/c-17-stl-cook-book/chapter7-0-chinese.md)
- [创建、连接和转换字符串](https://chenxiaowei.gitbook.io/c-17-stl-cook-book/chapter7-0-chinese/chapter7-1-chinese.md)
- [消除字符串开始和结束处的空格](https://chenxiaowei.gitbook.io/c-17-stl-cook-book/chapter7-0-chinese/chapter7-2-chinese.md)
- [无需构造获取std::string](https://chenxiaowei.gitbook.io/c-17-stl-cook-book/chapter7-0-chinese/chapter7-3-chinese.md)
- [从用户的输入读取数值](https://chenxiaowei.gitbook.io/c-17-stl-cook-book/chapter7-0-chinese/chapter7-4-chinese.md)

## How to find the correct page

If the exact page cannot be found, you can still retrieve the information using the documentation query interface.

### Option 1 — Ask a question (recommended)

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://chenxiaowei.gitbook.io/c-17-stl-cook-book/chapter7-0-chinese.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

### Option 2 — Browse the documentation index

Full index: https://chenxiaowei.gitbook.io/c-17-stl-cook-book/sitemap.md

Use this to discover valid page paths or navigate the documentation structure.

### Option 3 — Retrieve the full documentation corpus

Full export: https://chenxiaowei.gitbook.io/c-17-stl-cook-book/llms-full.txt

Use this to access all content at once and perform your own parsing or retrieval. It will be more expensive.

## Tips for requesting documentation

Prefer `.md` URLs for structured content, append `.md` to URLs (e.g., `/c-17-stl-cook-book/chapter7-0-chinese.md`).

You may also use `Accept: text/markdown` header for content negotiation.
