Thread: 1 small question

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

    Question 1 small question

    Thank you question answered.
    Last edited by paulntysmom; 04-11-2006 at 09:46 AM.

  2. #2
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    >Is there anyway to line up the decimals on the bank record?
    Well you can specify the width of the field. For example (a field width of 20):
    Code:
    		  printf ("Deposit #%i:%20.2f\n", x, deposit[x]);

  3. #3
    Registered User
    Join Date
    Feb 2006
    Posts
    33
    Thanks swoopy

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  2. Hi all, I have a small question...
    By Pandora in forum Windows Programming
    Replies: 3
    Last Post: 03-16-2003, 06:21 AM
  3. opengl DC question
    By SAMSAM in forum Game Programming
    Replies: 6
    Last Post: 02-26-2003, 09:22 PM
  4. A small Question
    By CodeJerk in forum C++ Programming
    Replies: 2
    Last Post: 11-20-2002, 09:08 AM
  5. Very simple question, problem in my Code.
    By Vber in forum C Programming
    Replies: 7
    Last Post: 11-16-2002, 03:57 PM