Thanks for the great points guys, went through the code as you said.
I've got it working now, printing out the final string in the format it should.
Thanks again!
Type: Posts; User: Rix
Thanks for the great points guys, went through the code as you said.
I've got it working now, printing out the final string in the format it should.
Thanks again!
Sorry, should have posted the objective.
The goal here is to wrap around every 72nd column, never breaking up a word. So if a word is going to go past the 72nd column, it should wrap around AND all...
Error code? Right now all I'm getting when I enter the command './a.out' is "Segmentation fault", is there a way to get the error code from there?
Hey guys
So I'm trying to write a program that behaves as follows:
1. Define a word as any sequence of characters delimited by whitespace.
2. If the first character of a word were to be...