Go to file
Krishna Vedala 9a9781064f
[enhancement] New Graphics implementation with algorithm for spirograph (#557)
* skeleton of spirograph

* add graphics to cmake

* updating DIRECTORY.md

* added cmake to graphics folder

* add stub test function

* working program

* set pre-processor macro if GLUT is available

* use snprintf

details: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1967.htm

* conditional include for mac

* corrected conditional include for mac

* fix cmake for MACOS

* OpenGL animation if available, else plot to CSV

* MacOS does not provide glutBitmapString function

* formatting source-code for 8d570b4c28

* fix parameter

* try caps include path GL

* provide custom glutBitmapString cuntion

* add glut library to gitpod docker

* enable VNC in gitpod

* better documentation and cmake configuration

* enable keyboard inputs to pause and change parameters

* fix lgtm alerts

* implementation similar to one in C++ repo

* fix compilation errors on MSVC

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-07-10 15:48:07 -04:00
.github fix formatting style to Google 2020-06-28 11:24:39 -04:00
.vscode fix newline character 2020-06-23 18:30:26 -04:00
client_server formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
conversions fix LGTM error - c_atoi 2020-06-28 15:53:26 -04:00
data_structures fixed documentations 2020-06-28 15:18:52 -04:00
exercism formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
graphics [enhancement] New Graphics implementation with algorithm for spirograph (#557) 2020-07-10 15:48:07 -04:00
greedy_approach formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
hash formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
leetcode formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
machine_learning update ML documentation and add grouping 2020-07-02 20:09:49 -04:00
misc [bugs & docs] lots of documentation and bug fixes (#554) 2020-07-04 15:05:30 -04:00
numerical_methods fix printing long double 2020-07-01 20:49:27 -04:00
project_euler [bugs & docs] lots of documentation and bug fixes (#554) 2020-07-04 15:05:30 -04:00
searching fix code - major errors + add docs 2020-07-01 21:27:35 -04:00
sorting [Bug] gnome sort: reverted merge commit adding error (#559) 2020-07-08 08:54:58 -04:00
.gitignore ignore files in .vscode unless specifically added 2020-06-28 07:10:42 -04:00
.gitpod.dockerfile [enhancement] New Graphics implementation with algorithm for spirograph (#557) 2020-07-10 15:48:07 -04:00
.gitpod.yml update Gitpod - use docker image 2020-06-09 20:53:41 -04:00
CMakeLists.txt [enhancement] New Graphics implementation with algorithm for spirograph (#557) 2020-07-10 15:48:07 -04:00
CodingGuidelines.md added code style conventions 2018-03-23 21:47:38 +01:00
DIRECTORY.md [enhancement] New Graphics implementation with algorithm for spirograph (#557) 2020-07-10 15:48:07 -04:00
Doxyfile added doxygen documentation 2020-05-24 22:28:28 -04:00
LICENSE Create LICENSE 2019-10-03 11:58:25 +08:00
README.md more elaborate README (#558) 2020-07-07 20:06:28 -04:00

README.md

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 GPLv3 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 standard C library libc 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 C11 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. 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.