Commit Graph

1299 Commits

Author SHA1 Message Date
Ayaan Khan
121c7132a0
Merge pull request #807 from BillKek/master
fix: assertion failed on negative numbers in `conversions/c_atoi_str_to_integer.c`
2021-02-28 23:04:02 +05:30
BillKek
6f50dd4aab fixed precision commit. was assert-fail on negative numbers. 2021-02-28 01:07:53 +03:00
Satbek Abdyldayev
28fc15c65b
fix: possible segmentation faults in numerical_methods/mean.c (#805)
* fixed possible segmentation fault

Fixed possible segmentation fault when no arg is supplied

* Update mean.c

various small changes to print statements.
2021-02-23 12:36:43 -06:00
Ayaan Khan
8e03e35c80
Merge pull request #797 from CarlosZoft/master
feat: added naval_battle, to games.
2021-02-19 11:45:06 +05:30
Carlos
78e40e4874 Update : change type char to int 2021-02-19 03:03:23 -03:00
Carlos
900d24ef71 Delete : unused variable 2021-02-19 02:53:56 -03:00
Carlos
3a04dd3420 Delete : unused variable 2021-02-19 02:52:00 -03:00
Carlos
d756a70611 Delete : unnecessary if 2021-02-19 02:37:22 -03:00
Carlos
5bf3c34f51 Update : common if 2021-02-19 02:34:26 -03:00
Carlos
f47b18cf6d Update : return 2021-02-19 02:26:55 -03:00
David Leal
4a82625760
feat: Add income badge and donate button in...
...`README.md`.
2021-02-18 21:38:36 -06:00
Carlos
1733aa9c15 Update : adding keys 2021-02-18 23:11:14 -03:00
Carlos
eb0f5f138b Update : header 2021-02-18 22:56:31 -03:00
Carlos
99c5cec156 Merge github.com:CarlosZoft/C 2021-02-18 03:03:41 -03:00
Carlos
4cbeebe6a4 Update : Updating details 2021-02-18 03:03:02 -03:00
Carlos
9fd686b619 Update : improving code visualization 2021-02-18 03:00:14 -03:00
Ayaan Khan
7847be8ceb
Merge pull request #802 from northernSage/fix-bubble-sort-2
[feat/fix/docs]: Fix bubble_sort2.c implementation bug and some documentation/structure improvements
2021-02-18 11:12:07 +05:30
Carlos
ef10b322a2 Update : Description of functions 2021-02-18 02:33:38 -03:00
Carlos
e4f0541744 Update : brief description of header 2021-02-18 02:22:29 -03:00
Gabriel Fioravante
97dfc06875
Update sorting/bubble_sort_2.c
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-17 22:46:57 -05:00
northernSage
6c6879fe52 remove unused headers and add comments 2021-02-18 00:44:48 -03:00
Gabriel Fioravante
679b30b725
use 0 instead of EXIT_SUCCESS
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-17 22:39:20 -05:00
Gabriel Fioravante
cf95c1e27a
Apply suggestions from code review
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-17 22:29:37 -05:00
Priyanshu
3a85f72d7a
fix: Integer literal is too large to be represented as signed integer typed (#793) 2021-02-17 21:10:29 -06:00
github-actions
1028b7b9aa updating DIRECTORY.md 2021-02-17 22:39:14 +00:00
tinouduart33
3682694f76
feat: Get a trace of all of the allocations, using a doubly linked list and wrappers for malloc/calloc and free. (#782)
* Add malloc, calloc and free wrappers to trace all of the allocations

* Improve memory leak reporting when multiple allocations occurs in the same file at the same line.

* Change directory name from 'debugging' to 'developer_tools' and added CMakeLists.txt, also change an include name to match a file name

* Edit root CMakeLists.Txt

* Update developer_tools/malloc_dbg.h

Co-authored-by: David Leal <halfpacho@gmail.com>

* Edit CMakeLists.txt to create a static library from malloc_dbg.c

* Add comments for the includes

* Change test.c name to test_malloc_dbg.c, also edit CMakeLists.txt to link malloc_dbg.a only to test_malloc_dbg.

* Change comment style and change EXIT_SUCCESS to 0

* Fix typo in doxygen comments

* Enhance comments

* Apply suggestions from code review

Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-17 16:38:41 -06:00
northernSage
de09c966b3 add header comment 2021-02-17 07:17:31 -03:00
northernSage
366724b585 update old main function 2021-02-17 07:15:47 -03:00
northernSage
9ba58f4571 add separate test function 2021-02-17 07:14:34 -03:00
northernSage
3b647a617a move bubblesort implementation to separate function 2021-02-17 07:13:29 -03:00
northernSage
6b0f57d372 use stdbool.h instead of manually defined macros 2021-02-17 07:11:11 -03:00
northernSage
e2add348d9 apply snake case 2021-02-17 07:08:51 -03:00
github-actions
397872ba96 updating DIRECTORY.md 2021-02-15 06:47:11 +00:00
Carlos
9f6e1d1a8d update: translating and adding brief description 2021-02-15 03:45:58 -03:00
Ayaan Khan
e81bc16832
Merge pull request #611 from harshcut/infix_to_postfix
feat: add infix_to_postfix.c
2021-02-11 10:42:57 +05:30
Harsh Karande
34eea0aa0f
review: make get getPrecedence
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2021-02-11 10:29:16 +05:30
Ayaan Khan
1fb7bf023d
Merge pull request #677 from rachitbhalla/master
Implemented octal to hexadecimal conversion
2021-02-11 10:27:06 +05:30
Ayaan Khan
e713be82c2
Merge pull request #744 from Suraj-Patro/patch-9
fix: Improved code formatting in conversions/octal_to_binary.c
2021-02-11 10:23:40 +05:30
Ayaan Khan
2af0c48da8
Merge pull request #731 from nicola-masarone/patch-1
Update binary_to_hexadecimal.c
2021-02-11 10:17:01 +05:30
Ayaan Khan
5eee22a750
Merge pull request #768 from Suraj-Patro/patch-28
fix: Improved source code formatting at data_structures/linked_list/stack_using_linked_lists.c
2021-02-11 10:15:51 +05:30
Chathura Nimesh
c4e80b8b0a
fix: several bugs on games/tic_tac_toe.c (#771)
* fixed several bugs on tic_tac_toe

* final changes bug fixed

* added requested changes

* fixed changes

* fixed stuff

* fix clang-tidy warnings

* removed unnecessary headers

* resolved some warnings

* fixed warning c4244

* Tiggering CI checks
2021-02-10 19:32:01 +05:30
Carlos
62279c3f13 feat: added naval_battle, to games. 2021-02-05 17:10:18 -03:00
Krishna Vedala
604ec7d2b3
remove windows builds (#796) 2021-02-06 01:20:20 +05:30
Ravi Shankar Reddy B
14d29d559a
fixed: 761, 762. Fixed mis-spelled header file CArray.h to carray.h (#783)
Co-authored-by: Ravi Shankar Reddy Bommana <ravishankarreddy.bommana@citrix.com>
2021-01-24 23:04:33 -06:00
David Leal
b2b9191273
fix: Update the copyright year to 2021 (#780) 2021-01-07 22:36:22 -06:00
谭九鼎
88fc8bb03d
fix: md style (#779) 2021-01-01 20:12:34 -06:00
webdesignbydivyansh
b2def5ca0e
feat: created prime_seive.c (#708)
* created prime_seive.c

This function counts the number of prime numbers in O(nlogn) time.

* Apply suggestions from code review

Co-authored-by: David Leal <halfpacho@gmail.com>

* updating DIRECTORY.md

* updated prime_seive.c

* Update misc/prime_seive.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* added more changes

please take a look at it

* changed 1000000 to MAX_SIZE

* updated line 10

* changed the code back to original

* eliminated the problem of MAX_SIZE

* added for loop to initialise all elements to 0

* made the changes

* changed the code back to original

i have changed my code back to original as some tests were failing

* removed extra spaces & edited some lines

* added new global variable

* added extra space

* added parameter & return statement

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-11-26 06:34:21 -05:00
meenal2000
aef9d8d53f
fix: file names modified for better readability (#770)
* file names modified

* files name modified

* file names modified

* updating DIRECTORY.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-11-03 18:46:26 -06:00
Suraj Patro
752cde71ef
Update stack_using_linked_lists.c 2020-10-31 00:13:40 +05:30
Suraj Patro
f23987e8ce
Update octal_to_binary.c 2020-10-30 22:09:02 +05:30