Search:

Type: Posts; User: Rix

Search: Search took 0.01 seconds.

  1. Thread: String formatting

    by Rix
    Replies
    7
    Views
    1,227

    Thanks for the great points guys, went through...

    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!
  2. Thread: String formatting

    by Rix
    Replies
    7
    Views
    1,227

    Sorry, should have posted the objective. The...

    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...
  3. Thread: String formatting

    by Rix
    Replies
    7
    Views
    1,227

    Error code? Right now all I'm getting when I...

    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?
  4. Thread: String formatting

    by Rix
    Replies
    7
    Views
    1,227

    String formatting

    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...
Results 1 to 4 of 4