1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

URGENT HELP!!! text setter C++ program

Discussion in 'C++' started by Melissa(plusplus), Apr 3, 2008.

  1. Melissa(plusplus)

    Melissa(plusplus) New Member

    Joined:
    Apr 3, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    the problem is as follows my teacher wants me to:
    write a program that reads lines of text into a string using the getline(cin,line) function and then type sets these lines of text so that they are column aligned on the left and right margins as shown in the second example above.

    So it looks like this:

    "Beware____the____Jabberwock,____my___son! without the underscores just wanted to put those in so you know what i mean by the spaces.

    HELP ME PLEASE!! ive been working on it for liek 3 days i cannot get it for the life of me!!!
     

Share This Page