> For the complete documentation index, see [llms.txt](https://mr-poston-1.gitbook.io/c++/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mr-poston-1.gitbook.io/c++/1.-c++-basics/1.5-functions-in-c++/1.5.1-functions-in-c++.md).

# 1.5.1 Functions in C++

As with other languages, we use functions to:

* Make our code easier to understand
* Avoid writing repeated code, and make our code reusable
* Simplify our code

You will see that functions work in a similar way to other languages, but the syntax and capabilities are a little different at times. In this lesson, you will explore the syntax and use of functions in C++.
