Just a couple small c programs.

Lily Carpenter b67b9fda7e Better commenting, should be done now 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 b67b9fda7e Better commenting, should be done now 8 年之前
mysort.c b67b9fda7e Better commenting, should be done now 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.