Even if you're already familiar with the printf command, if you got your information via "man printf" you may be missing a couple of useful features that are provided by bash's built-in version of the ...
When you have a width specification of 1 (like you do in the second line) the output will be H or T. If you have anything else, the output will be HEADS or TAILS. But first, we need to add the %H ...
Trying to do this in a c program:<BR><BR><pre class="ip-ubbcode-code-pre">printf(" Heading1 Heading2 Heading3\n"); printf(" %i %i %i\n", var1, var2, var3);</pre><BR ...
</pre> <BR>The problem is that if a number that begins with a zero is entered, its put in the 'number' variable as an octal. I would like it so its stored as an integer since i have to do ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results