Re: printf, align & field width?

From: Case - (no_at_no.no)
Date: 06/09/04


Date: Wed, 09 Jun 2004 14:08:08 +0200

DaveC wrote:

> Hi.. I have a C exam in a few days.. Looking back at old exams I find a few
> things we have not been taught / cant remember being taught. Below is a
> question from last year.
>
> My question is how do you align values and define field widths in the
> printf function? I'm ok with the rest of the question.

Please don't bother us with a lot of text we don't need
to anwer your question. The field with is a number (or
two) between the % and the converion character (e.g., x
for hex values). The details are in every C book or
online help/manual.

Good luck with your exam!

Case



Relevant Pages

  • Re: The Foundation of Understanding
    ... I agree, they are a gift, but kids here are taught you do - you own your ... body, your mind, you have ownership RIGHTS to them. ... yours - its walmarts - why cant I have that toy mommy - its not yours its ...
    (sci.econ)
  • Re: VERY OT: php logic - or - creative thought
    ... Obviously because creative thought cant be taught on a 10 minute youtube ... video tutorial & because every individual problem is different. ...
    (uk.media.tv.misc)