I'm trying to sort and print out the results, but it is showing nothing. I'm sure my implementation of bubble sort is correct. Where do you think is the error?
I also modified the helpers.h
to include stdio.h' and
helpers.c` to also include it. There is no compile error. It won't just really work properly.
for (int k = 0; k < 10; k++) {
printf("%c\\n", values[k]);
}
%c
to print out anint
value? also are you sure the escape sequence for a newline is\\n
? – Kareem♦ Jan 10 '16 at 13:24