Thread: pROBLEM

  1. #1
    Registered User
    Join Date
    Feb 2006
    Posts
    22

    pROBLEM

    How do you underline a word?

    I want My OUTPUT like dis

    MORE PRINTS

    how do you i do dat

  2. #2
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    U cant do dat... yo.
    Sent from my iPad®

  3. #3
    Registered User
    Join Date
    Feb 2006
    Posts
    22
    are you serious

  4. #4
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    In a console app, yes, I am.
    Sent from my iPad®

  5. #5
    Registered User
    Join Date
    Feb 2006
    Posts
    22
    thanks me

    i dont knoe how to put my out put

    it keeps goin like dis

    Photos in: 5
    Reprints ordered: 2
    but i want it like dis

    Photos in 5
    Reprints ordered 2

  6. #6
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    Well... if I had to guess... I would say... drop the colon from your string.
    Sent from my iPad®

  7. #7
    Registered User
    Join Date
    Feb 2006
    Posts
    22
    thanks but

    it looks like dis now

    photos in 5

  8. #8
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    I don't think I told you to make the 'p' lowercase and remove the second output statement...
    Sent from my iPad®

  9. #9
    Registered User
    Join Date
    Apr 2003
    Posts
    2,663
    Isn't there an under 12 yrs of age forum?

  10. #10
    Advanced Novice linucksrox's Avatar
    Join Date
    Apr 2004
    Location
    Michigan
    Posts
    198
    or you could always make a heading look like this:

    MORE PRINTS
    ***********

    or maybe even change the asterisks to __
    and it'd look like this

    MORE PRINTS
    ___________


    (that's 2 lines of output by the way)
    "What are all you parallelograms doing here?" - Peter Griffin (to Joe and his wheelchair buddies)

  11. #11
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    Post your code. You'll want something like this:
    Code:
    cout << "Photos in " << num1 << endl;
    cout << "Reprints ordered " << num2 << endl;
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help understanding a problem
    By dnguyen1022 in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2009, 04:21 PM
  2. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  3. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 08:38 AM
  4. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  5. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 06:54 PM