From 4d2a4aef8cdf8bbf4bef3a70797e9ca278cc515e Mon Sep 17 00:00:00 2001 From: rwhig-1NS Date: Wed, 1 Oct 2014 23:29:54 -0300 Subject: [PATCH] fixed #5, #6, #7 --- mm.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mm.c b/mm.c index 1407c22..5dceecd 100644 --- a/mm.c +++ b/mm.c @@ -43,7 +43,7 @@ int main(int argc, char *argv[]) { int i, length, *pt; /* my vars */ - int meanVal, medianVal; + int meanVal, medianVal, wc; // Check for proper usage if (argc < 2) { @@ -71,11 +71,12 @@ int main(int argc, char *argv[]) { qsort(pt, length, sizeof(int), numcmp); // Print out numbers + /* fprintf(stdout, "%s: Sorted output is: \n", argv[0]); for (i=0; i