C++ 算法大全
Go to file
Krishna Vedala 05bb23ca27
[enhancement] New Graphics implementation with algorithm for spirograph (#936)
* added spirograph program

* add graphics forlder to cmake

* updating DIRECTORY.md

* enable VNC for GUI programs on gitpod

* fix cpplint error

* fix macro definitions for correct documentation

* fix filename in docs

* move include from namespace to global

* download and build freeglut if not available

* install opengl libraries for build check

* fix syntax error

* fix quotes

* install mesa-utils instead

* use markepplace tool instead of installing

* fix syntax

* undo changes to github actions

* OpenGL not mandatory

* add private option to compile definition

* fix: corrected to compile definitions instead of options

* use the macro USE_GLUT

* compile FREEGLUT as a subdirectory. this maintains a consistency

* build freeglut_static when GLUT library not available

* provide keyboard control

* clang-tidy fixes for cb284bddb2

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-07-10 12:47:37 -04:00
.github [enhancement] Replace cpplint with clang-tidy (#943) 2020-07-10 11:32:37 -04:00
.vscode enable AlignConsecutiveMacros 2020-06-20 22:16:37 -04:00
backtracking Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
ciphers fix lgtm errors 2020-06-27 16:00:12 -04:00
data_structures remove Copyright from docs 2020-07-08 12:30:13 -04:00
doc Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
dynamic_programming Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
geometry Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
graph fix: repeated sentences 2020-06-25 15:49:30 +05:30
graphics [enhancement] New Graphics implementation with algorithm for spirograph (#936) 2020-07-10 12:47:37 -04:00
greedy_algorithms Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
hashing Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
machine_learning use better test data variable names to avoid conflict 2020-06-26 10:53:42 -04:00
math Improved sieve_of_eratosthenes.cpp (#933) 2020-07-10 11:02:59 -04:00
numerical_methods resolve merge conflicts 2020-07-01 03:28:12 +05:30
operations_on_datastructures Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
others formatting source-code for a190674131 2020-06-24 22:28:10 +00:00
probability Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
range_queries fix: Remove FenwickTree (#856) 2020-06-22 01:11:08 +05:30
search comments added 2020-07-10 19:13:16 +04:00
sorting fix to upper case 2020-07-01 13:08:41 -04:00
strings Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
.clang-tidy [enhancement] Replace cpplint with clang-tidy (#943) 2020-07-10 11:32:37 -04:00
.gitignore Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
.gitpod.dockerfile [enhancement] New Graphics implementation with algorithm for spirograph (#936) 2020-07-10 12:47:37 -04:00
.gitpod.yml enable gitpod for all branches 2020-07-10 10:43:05 -04:00
CMakeLists.txt [enhancement] New Graphics implementation with algorithm for spirograph (#936) 2020-07-10 12:47:37 -04:00
CONTRIBUTING.md [improvement] updated contribution guidelines (#945) 2020-07-09 18:15:05 -04:00
DIRECTORY.md [enhancement] New Graphics implementation with algorithm for spirograph (#936) 2020-07-10 12:47:37 -04:00
LICENSE Update the copyright year 2020-04-12 21:16:18 +08:00
README.md fix link to contributors 2020-06-28 09:14:41 -04:00

The Algorithms - C++

Gitpod Ready-to-Code Language grade: C/C++ Gitter chat contributions welcome GitHub repo size Doxygen CI Awesome CI

Overview

The repository is a collection of open-source implementation of a variety of algorithms implemented in C++ and licensed under MIT License. The 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++.
  • Well documented source code with detailed explanations provide a valuable resource for educators and students alike.
  • Each source code is atomic using STL classes 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 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 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 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 to see the list of all the files documented with the code.

Documentation of Algorithms in C++ by The Algorithms Contributors is licensed under CC BY-SA 4.0
Creative Commons LicenseCredit must be given to the creatorAdaptations must be shared under the same terms

Contributions

As a community developed and maintained repository, we welcome new un-plagiarized quality contributions. Please read our Contribution Guidelines.