# The Algorithms - C++ # {#mainpage}
<!-- the suffix in the above line is required for doxygen to consider this as the index page of the generated documentation site -->
[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/TheAlgorithms/C-Plus-Plus)
[![Language grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/TheAlgorithms/C-Plus-Plus.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/TheAlgorithms/C-Plus-Plus/context:cpp)
[![CodeQL CI](https://github.com/TheAlgorithms/C-Plus-Plus/actions/workflows/codeql_analysis.yml/badge.svg)](https://github.com/TheAlgorithms/C-Plus-Plus/actions/workflows/codeql_analysis.yml)
[![Gitter chat](https://img.shields.io/badge/Chat-Gitter-ff69b4.svg?label=Chat&logo=gitter&style=flat-square)](https://gitter.im/TheAlgorithms)
[![contributions welcome](https://img.shields.io/static/v1.svg?label=Contributions&message=Welcome&color=0059b3&style=flat-square)](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/CONTRIBUTING.md)
![GitHub repo size](https://img.shields.io/github/repo-size/TheAlgorithms/C-Plus-Plus?color=red&style=flat-square)
[![Doxygen CI](https://github.com/TheAlgorithms/C-Plus-Plus/workflows/Doxygen%20CI/badge.svg)](https://TheAlgorithms.github.io/C-Plus-Plus)
[![Awesome CI](https://github.com/TheAlgorithms/C-Plus-Plus/workflows/Awesome%20CI%20Workflow/badge.svg)](https://github.com/TheAlgorithms/C-Plus-Plus/actions?query=workflow%3A%22Awesome+CI+Workflow%22)
[![Income](https://img.shields.io/liberapay/receives/TheAlgorithms.svg?logo=liberapay)](https://liberapay.com/TheAlgorithms)
[![Discord chat](https://img.shields.io/discord/808045925556682782.svg?logo=discord&colorB=5865F2)](https://discord.gg/c7MnfGFGa6)
[![Donate](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/TheAlgorithms/donate)
## Overview
This repository is a collection of open-source implementation of a variety of algorithms implemented in C++ and licensed under [MIT License](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/LICENSE). These algorithms span a variety of topics from computer science, mathematics and statistics, data science, machine learning, engineering, etc.. The implementations and the associated documentation are meant to provide a learning resource for educators and students. Hence, one may find more than one implementation for the same objective but using a different algorithm strategies and optimizations.
## Features
* The repository provides implementations of various algorithms in one of the most fundamental general purpose languages - [C++](https://en.wikipedia.org/wiki/C%2B%2B).
* Well documented source code with detailed explanations provide a valuable resource for educators and students alike.
* Each source code is atomic using [STL classes](https://en.wikipedia.org/wiki/Standard_Template_Library) and _no external libraries_ are required for their compilation and execution. Thus, the fundamentals of the algorithms can be studied in much depth.
* Source codes are [compiled and tested](https://github.com/TheAlgorithms/C-Plus-Plus/actions?query=workflow%3A%22Awesome+CI+Workflow%22) for every commit on the latest versions of three major operating systems viz., Windows, MacOS and Ubuntu (Linux) using MSVC 16 2019, AppleClang 11.0 and GNU 7.5.0 respectively.
* Strict adherence to [C++11](https://en.wikipedia.org/wiki/C%2B%2B11) standard ensures portability of code to embedded systems as well like ESP32, ARM Cortex, etc. with little to no changes.
* Self-checks within programs ensure correct implementations with confidence.
* Modular implementations and OpenSource licensing enable the functions to be utilized conveniently in other applications.
## Documentation
[Online Documentation](https://TheAlgorithms.github.io/C-Plus-Plus) is generated from the repository source codes directly. The documentation contains all resources including source code snippets, details on execution of the programs, diagrammatic representation of program flow, and links to external resources where necessary. The documentation also introduces interactive source code with links to documentation for C++ STL library functions used.
Click on [Files menu](https://TheAlgorithms.github.io/C-Plus-Plus/files.html) to see the list of all the files documented with the code.
[Documentation of Algorithms in C++](https://thealgorithms.github.io/C-Plus-Plus) by [The Algorithms Contributors](https://github.com/TheAlgorithms/C-Plus-Plus/graphs/contributors) is licensed under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/?ref=chooser-v1)<br/>
<a href="https://creativecommons.org/licenses/by-sa/4.0"><img alt="Creative Commons License" style="height:22px!important;margin-left: 3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg" /><img alt="Credit must be given to the creator" style="height:22px!important;margin-left: 3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/by.svg" /><img alt="Adaptations must be shared under the same terms" style="height:22px!important;margin-left: 3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/sa.svg" /></a>
## Contributions
As a community developed and maintained repository, we welcome new un-plagiarized quality contributions. Please read our [Contribution Guidelines](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/CONTRIBUTING.md).
没有合适的资源?快使用搜索试试~ 我知道了~
最新C++算法实现代码.zip
共375个文件
cpp:320个
txt:19个
yml:10个
需积分: 32 1 下载量 62 浏览量
2022-10-22
07:26:04
上传
评论
收藏 619KB ZIP 举报
温馨提示
最新C++算法实现代码.zip最新C++算法实现代码.zip最新C++算法实现代码.zip最新C++算法实现代码.zip最新C++算法实现代码.zip最新C++算法实现代码.zip最新C++算法实现代码.zip最新C++算法实现代码.zip最新C++算法实现代码.zip
资源详情
资源评论
资源推荐
收起资源包目录
最新C++算法实现代码.zip (375个子文件)
.clang-format 4KB
.clang-tidy 875B
tree_234.cpp 39KB
neural_network.cpp 33KB
a_star_search.cpp 26KB
kohonen_som_topology.cpp 21KB
hill_cipher.cpp 18KB
heavy_light_decomposition.cpp 18KB
trie_multiple_search.cpp 17KB
kohonen_som_trace.cpp 16KB
binary_search_tree2.cpp 15KB
inorder_successor_of_bst.cpp 14KB
linear_recurrence_matrix.cpp 14KB
iterative_tree_traversals.cpp 14KB
ordinary_least_squares_regressor.cpp 14KB
recursive_tree_traversal.cpp 14KB
md5.cpp 14KB
adaline_learning.cpp 13KB
persistent_seg_tree_lazy_prop.cpp 13KB
random_pivot_quick_sort.cpp 12KB
sublist_search.cpp 12KB
elliptic_curve_key_exchange.cpp 11KB
durand_kerner_roots.cpp 11KB
bidirectional_dijkstra.cpp 11KB
cycle_check_directed_graph.cpp 11KB
sha1.cpp 11KB
trie_using_hashmap.cpp 10KB
perimeter.cpp 10KB
hopcroft_karp.cpp 10KB
circular_linked_list.cpp 10KB
fcfs_scheduling.cpp 10KB
geometric_dist.cpp 9KB
area.cpp 9KB
complex_numbers.cpp 9KB
windowed_median.cpp 9KB
gram_schmidt.cpp 9KB
list_array.cpp 9KB
spirograph.cpp 9KB
count_inversions.cpp 9KB
quadratic_probing_hash_table.cpp 9KB
qr_eigen_values.cpp 9KB
double_hash_hash_table.cpp 8KB
reverse_binary_tree.cpp 8KB
base64_encoding.cpp 8KB
rb_tree.cpp 8KB
bloom_filter.cpp 8KB
volume.cpp 8KB
lowest_common_ancestor.cpp 8KB
union_of_two_arrays.cpp 8KB
linear_probing_hash_table.cpp 8KB
composite_simpson_rule.cpp 8KB
lru_cache.cpp 8KB
abbreviation.cpp 8KB
linked_list.cpp 7KB
midpoint_integral_method.cpp 7KB
morse_code.cpp 7KB
integral_approximation2.cpp 7KB
intersection_of_two_arrays.cpp 7KB
shell_sort2.cpp 7KB
dsu_path_compression.cpp 7KB
manacher_algorithm.cpp 7KB
smallest_circle.cpp 7KB
ode_forward_euler.cpp 7KB
ode_semi_implicit_euler.cpp 7KB
segtree.cpp 7KB
breadth_first_search.cpp 7KB
ode_midpoint_euler.cpp 6KB
skip_list.cpp 6KB
depth_first_search_with_stack.cpp 6KB
word_break.cpp 6KB
jarvis_algorithm.cpp 6KB
selectionsortlinkedlist.cpp 6KB
vigenere_cipher.cpp 6KB
karatsuba_algorithm_for_fast_multiplication.cpp 6KB
trie_tree.cpp 6KB
sparse_table.cpp 6KB
minimum_edit_distance.cpp 6KB
binary_search.cpp 6KB
miller_rabin.cpp 6KB
dsu_union_rank.cpp 6KB
dijkstra.cpp 6KB
sudoku_solver.cpp 6KB
quick_sort_3.cpp 6KB
brent_method_extrema.cpp 6KB
trie_modern.cpp 6KB
integral_approximation.cpp 5KB
selection_sort_iterative.cpp 5KB
realtime_stats.cpp 5KB
caesar_cipher.cpp 5KB
reverse_a_linked_list.cpp 5KB
binary_insertion_sort.cpp 5KB
shortest_common_supersequence.cpp 5KB
array_right_rotation.cpp 5KB
chaining.cpp 5KB
fast_fourier_transform.cpp 5KB
array_left_rotation.cpp 5KB
wildcard_matching.cpp 5KB
insertion_sort.cpp 5KB
a1z26_cipher.cpp 5KB
0_1_knapsack.cpp 5KB
共 375 条
- 1
- 2
- 3
- 4
盈梓的博客小站
- 粉丝: 6550
- 资源: 1003
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0