Scroll AI Now

Open source repo

C-Plus-Plus

Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.

By TheAlgorithms · MIT · C++ · ★ 34,939

View on GitHubProject siteMore repos in the app

What it is

C‑Plus‑Plus is an open source tool for building with large language models, published on GitHub by TheAlgorithms and written mainly in C++. Its maintainers file it under algorithm, algorithm‑competitions, algorithms‑implemented, artificial-intelligence-algorithms.

In its own words on GitHub: “Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.”

Who it is for

Developers and technical teams building products on top of large language models.

How to start

  1. Open the repo and read the README from the top, then the license file.
  2. It is written in C++, so check the README for a prebuilt release before you compile it yourself.
  3. Its project site, thealgorithms.github.io, has documentation and sometimes a hosted version you can try before you install anything.
  4. Pin a release or a commit, so an update does not change how it behaves without you noticing.

Why it is on our list

The facts

LicenseMIT
What the license allowsYou can use, change and ship it, including in paid products. Keep the copyright notice.
Main languageC++
Stars34,939
Topicsalgorithm, algorithm‑competitions, algorithms‑implemented, artificial-intelligence-algorithms, computer‑science
CreatedJuly 16, 2016
Last checkedDecember 2, 2026

Before you use it

Are you the author?

This repo has its own page on Scroll AI Now.
Show it in your README with the badge below.
It links readers back to this page. How the badge works

Featured on Scroll AI Now

Markdown
[![Featured on Scroll AI Now](https://scrollainow.com/badge/featured.svg)](https://scrollainow.com/repos/thealgorithms-c-plus-plus/)
HTML
<a href="https://scrollainow.com/repos/thealgorithms-c-plus-plus/"><img src="https://scrollainow.com/badge/featured.svg" alt="Featured on Scroll AI Now" height="28"></a>

Related repos

All curated AI repos · Agent skills

Try it in your browser

Today's AI news, one card per swipe.
Free to start.

Open the web app