Thread: cout

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User Max's Avatar
    Join Date
    Jul 2002
    Posts
    110

    cout

    how can I print exactly like this:

    1234 5
    23 10
    5 600

    notice how the numbers in the second column are alligned

    I don't want to print like this

    1234 5
    23 10
    5 600

    Thanks?


    [code][/code]tagged by Salem
    @Max - re-edit this post to get the effect you want with code tags around the formatted text
    Last edited by Max; 12-21-2002 at 03:50 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. class methods to cout stream
    By shintaro in forum C++ Programming
    Replies: 5
    Last Post: 11-11-2008, 07:27 PM
  2. cout vs std::cout
    By none in forum C++ Programming
    Replies: 10
    Last Post: 07-26-2004, 11:20 PM
  3. changing cout output
    By Yohumbus in forum C++ Programming
    Replies: 1
    Last Post: 10-23-2002, 04:09 AM
  4. Redirecting cout stream
    By Arrow Mk84 in forum C++ Programming
    Replies: 1
    Last Post: 10-08-2002, 04:17 PM
  5. printf vs cout
    By RyeDunn in forum C++ Programming
    Replies: 5
    Last Post: 07-09-2002, 04:26 PM