Can't figure out why code is hanging up
I know I've been asking 1000 questions and most of them are simple answers, but I've tested this one extensively and still cannot figure out what the deal is (cue still simple answer).
My code hangs up after I ask "How many characters per line?: " and the user inputs a number and hits enter. Nothing shows up after that, but the code doesn't crash to the command line. As you can see from the code, I've inserted a number of printf statements to try to catch where it crashes, and not even the one right after the last input is printed. That leads me to believe it hangs up right after that, but I haven't changed that section of the code for a long time. I figured it would be my justify function, but it's not even getting there. Any help would be much appreciated.