Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrections to errors in the existing files #795

Open
wants to merge 44 commits into
base: master
from

Conversation

@kvedala
Copy link
Contributor

kvedala commented May 26, 2020

Description of Change

There are indeed a lot of corrections because of the errors that already exist in the repository.
This is a major effort to fix all the existing errors in the repository:

  • wrongfully named
  • non-compiling codes
  • cpplint incompatible codes

There are a lot of files that changed and I already have a few auto-check tools that verify the CPPLINT and also compilation on linux, Windows and Mac operating systems. This can be checked here: https://github.com/kvedala/C-Plus-Plus/tree/cmake

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • Sort by alphabetical order
  • I acknowledge that all my contributions will be made under the project's license.

Notes:

kvedala and others added 15 commits May 26, 2020
(cherry picked from commit 260ba8d)
(cherry picked from commit 412d3ff)
(cherry picked from commit 0e3a57a)
github-actions github-actions
…s-Plus into major-corrections-to-files

* 'major-corrections-to-files' of github.com:kvedala/C-Plus-Plus:
  updating DIRECTORY.md
*BUG* in CPP lint github action
@kvedala
Copy link
Contributor Author

kvedala commented May 26, 2020

@cclauss seems like the cpplint check tool is incorrectly linking the files: link
Instead of compiling and linking each file separately, it is incorrectly linking them all together. This is leading to duplicate references to functions like main

subprocess.CalledProcessError: Command '['g++', 'computer_oriented_statistical_methods/Gaussian_elimination.cpp', 'computer_oriented_statistical_methods/bisection_method.cpp', 'computer_oriented_statistical_methods/false-position.cpp', 'computer_oriented_statistical_methods/newton_raphson_method.cpp', 'computer_oriented_statistical_methods/secant_method.cpp', 'computer_oriented_statistical_methods/successive_approximation.cpp', 'math/fibonacci.cpp', 'math/prime_factorization.cpp', 'others/GCD_of_n_numbers.cpp', 'others/fibonacci_fast.cpp', 'others/matrix_exponentiation.cpp', 'others/pascal_triangle.cpp', 'sorting/shell_sort2.cpp']' returned non-zero exit status 1.

kvedala and others added 5 commits May 26, 2020
github-actions github-actions
.gitignore Outdated Show resolved Hide resolved
@cclauss
Copy link
Member

cclauss commented May 26, 2020

Too many files to review on one pull request. Can someone else please review?

@kvedala kvedala force-pushed the kvedala:major-corrections-to-files branch from fe9d2b9 to f28099d May 26, 2020
kvedala added 4 commits May 26, 2020
(cherry picked from commit 614ea8e)
(cherry picked from commit 0ad756f)
(cherry picked from commit 139964d)
(cherry picked from commit 2def9ab)
kvedala and others added 7 commits May 26, 2020
(cherry picked from commit d6d328c)
(cherry picked from commit fb3a809)
(cherry picked from commit 4b25222)
(cherry picked from commit 899be6a)
(cherry picked from commit dd20bf9)
(cherry picked from commit fe9d2b9)
@kvedala kvedala changed the title Major corrections to files Major corrections to errors in the existing files May 26, 2020
@kvedala kvedala changed the title Major corrections to errors in the existing files Corrections to errors in the existing files May 26, 2020
kvedala and others added 8 commits May 26, 2020
(cherry picked from commit 7efa52e)
(cherry picked from commit 76a5f57)
(cherry picked from commit 0d8e015)
(cherry picked from commit 717f5c8)
(cherry picked from commit 01b69fc)
(cherry picked from commit 35c5376)
… github action that required it
@kvedala kvedala mentioned this pull request May 26, 2020
7 of 8 tasks complete
@kvedala
Copy link
Contributor Author

kvedala commented May 26, 2020

Too many files to review on one pull request. Can someone else please review?

There are a lot of existing errors in the repository that need to be fixed.
This is a major initiative to normalizaing these corrections 😓

kvedala added 5 commits May 27, 2020
@kvedala

This comment has been minimized.

Copy link
Contributor Author

kvedala commented on baea3b0 May 30, 2020

Step 2 for #805

  • Check box to indicate review completed
@kvedala

This comment has been minimized.

Copy link
Contributor Author

kvedala commented on 4e8a2f7 May 30, 2020

part of #805
@cclauss @ayaankhan98

  • Check box to indicate review completed
@kvedala

This comment has been minimized.

Copy link
Contributor Author

kvedala commented on 120fe06 May 30, 2020

step for #805

  • Check box to indicate review completed
@kvedala

This comment has been minimized.

Copy link
Contributor Author

kvedala commented on b9bb6ca May 30, 2020

step for #805

  • Check box to indicate review completed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.