# Using pkgx with a C/C++ Pipeline

We have most of the most popular c & c++ libraries pkg’d so just add them to your developer environment.

```yaml
# pkgx.yaml

dependencies:
  openssl.org: ^3
  github.com/gabime/spdlog: ^1
  llvm.org: ^14
  gnu.org/autoconf: ^2
  cmake.org: ^3
```

Usually this is enough to have tools like Autoconf or CMake find the libraries sometimes though you may need to provide a helping hand. Examine the devenv with `pkgx` for path information.

Then `dev` to activate the environment.


---

# 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://docs.pkgx.sh/appendix/deeper-dives/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.
