Mail Archives: djgpp-workers/2002/12/12/23:10:07
> Charles Sandmann wrote:
> [snip]
> > d,D, o,O, i,I, u,U, x,X, e,E, g,G all supposedly do the same thing.
>
> For printf? Or scanf?
Let me do this right:
d pointer to int (decimal)
D pointer to long (decimal)
o pointer to int (octal)
O pointer to long (octal)
i pointer to int (decimal, octal or hexadecimal)
I pointer to int (decimal, octal or hexadecimal)
u pointer to uint (decimal)
U pointer to ulong (decimal)
x pointer to int (hex)
X pointer to int (hex) - Is this a documentation defect? Or real?
e,E pointer to float
f pointer to float
g,G pointer to float
If you want a jpg of the scanf documentation page, I'll put it on my
web site (high res ...)
- Raw text -