Well, I dont know how to use fgets() to count the input for a maximum of 20 characters, so i chose to use fgetc to do it character by character. I'm not sure what you mean by casting malloc, Im...
Type: Posts; User: nixonbw
Well, I dont know how to use fgets() to count the input for a maximum of 20 characters, so i chose to use fgetc to do it character by character. I'm not sure what you mean by casting malloc, Im...
Ok, so i've got a bit of a problem. I've dynamically allocated a 2d array, grabbeb input and put it into a buffer, and now would like to print the output, but am having some trouble thus far.
Here...
Im not to sure where exactly I fix the zero termination problem. Is this referring to the null character thats placed at the end of each word?
Ok, so I re-indented to the best of my ability (first programming experience ever), and I also added in my attempt at the bubble sort down at the bottom.
Thanks
#include <stdio.h>
...
Hi all
Here is my problem. I wrote a program that asks the user the input 10 different words. After the words are input, it then mirrors the words, as well as changes the upper/lower case and...