Re: printf *%f
ratheesh k <[email protected]> Wed, 12 Jan 2011 14:44:33 +0530
| Newsgroups | org.kernel.vger.linux-c-programming |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jan 12, 2011 at 2:32 PM, Bert Wesarg <[email protected]> wrote: > On Wed, Jan 12, 2011 at 09:59, Fei Zhao <[email protected]> wrote: >> I mean's that when to use printf("%*.*f" , 4, 2 , x) ; in linux kernel or >> our practical use? If you want to control the format dynamically. scanf("%d" , &first); scanf("%d" , %second); printf("%*.*f", first ,second , x); > I don't know when you want to use such calls, how should I? And what > has the linux kernel to do with this, this doesn't came up before, and > what is '*our* practical use'? > > Bert > -- > To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in > the body of a message to [email protected] > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html