Just a couple small c programs.

Lily Carpenter 97cb5942d1 Renamed so that mysort.c can be the in-line version. il y a 12 ans
README.md 8089526bc7 Updated readme il y a 8 ans
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. il y a 8 ans
myecho.c f1bff06cc2 Got myecho working, probably will want to do some error handling/cleanup though. il y a 8 ans
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. il y a 8 ans
mysort_simple.c 97cb5942d1 Renamed so that mysort.c can be the in-line version. il y a 8 ans

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.