Implementation of Sorting algorithms in C (Beginner)
- Add algorithm signature to
sort_algo.h
header file. - Implement your algorithm with file name format
<algo-name>_sort.c
inalgorithms
folder, with same signature mentioned in Step 1. Make sure to includesort_algo.h
. - In file
common/menu.c
, increment the macro definitionTOTAL_ALGOS
. Also add Print statement at last with sorting Algorithm name. - In
main.c
, add the new case in switch block, with same number presented inmenu.c
. Call your implemented sort array in the case statement.
make
./sorting_algorithms
make clean