| |
| | [No title] |
 | | Instead, the string is interpreted by the printf function as a format string. |
 | | When the "%n" format is encountered in the format string, the number of characters output before the %n field was encountered is stored at the address passed in the next argument. |
 | | As an example, to receive the offset to the space between two formatted numbers: int pos, x = 235, y = 93; printf("%d %n%d\n", x, &pos, y); printf("The offset was %d\n", pos); The "%n" format returns the number of characters that should have been output, not the actual count of characters that were output. |
| community.core-sdi.com /~juliano/tn-usfs.txt (1880 words) |
|