I was wondering if that was doing the same as a scanf, then why am i getting the output that i am getting.. Im not even getting to enter a sentence or anything at all
Printable View
I was wondering if that was doing the same as a scanf, then why am i getting the output that i am getting.. Im not even getting to enter a sentence or anything at all
AHhhh i fixed that by setting a c = getchar() before the while loop. Now, How would i fix the fact that once i do ./ex8-6 that i hit enter, then it is a blank line, then i hit enter then it prompts me for my Enter message: ??
Ok, i figured out what was wrong! Thanks so much for the help, running multiple test cases to make sure that it does work!