Just a couple small c programs.

Lily Carpenter 97cb5942d1 Renamed so that mysort.c can be the in-line version. лет назад: 12
README.md 8089526bc7 Updated readme лет назад: 8
myecho b83cb9674a Got a (pretty ugly looking) version of quicksort working. Checked for memory leaks, all good. Want to clean this up and probably make it an "in place" algorithm as well. лет назад: 8
myecho.c f1bff06cc2 Got myecho working, probably will want to do some error handling/cleanup though. лет назад: 8
mysort b83cb9674a Got a (pretty ugly looking) version of quicksort working. Checked for memory leaks, all good. Want to clean this up and probably make it an "in place" algorithm as well. лет назад: 8
mysort_simple.c 97cb5942d1 Renamed so that mysort.c can be the in-line version. лет назад: 8

README.md

C project

Just a couple small c programs

My Echo

This program simply takes a binary stream of numbers from STDIN and outputs them. In order to do this, it simply uses fread to grab an array of numbers from the stream until the stream ends. During this, it uses a for loop to print every number from said array.

My Sort

Like My Echo, this program takes a binary stream of numbers from STDIN. However, this one uses the quicksort algorithm to sort them, and then outputs them to STDOUT.