Hyper Dictionary

English Dictionary Computer Dictionary Video Dictionary Thesaurus Dream Dictionary Medical Dictionary

Search Dictionary:  

Meaning of PRINTF

Matching Terms:  print, print buffer, print i, print media, print over, print seller, print server, print services facility, print shop, printable, printa-ble, printed, printed circuit, printed circuit board, printed symbol, printer, printer access protocol, printer cable, printer port, printer's devil, printer's ink, printery, printing, printing business, printing company, printing concern, printing discussion, printing in, printing ink, printing machine, printing operation, printing out, printing press, printing process, printing unit, printless, printmaker, printmaking, printout, printshop

Computing Dictionary

The standard function in the c programming language library for printing formatted output.

The first argument is a format string which may contain ordinary characters which are just printed and "conversion specifications" - sequences beginning with '%' such as %6d which describe how the other arguments should be printed, in this case as a six-character decimal integer padded on the right with spaces.

Possible conversion specifications are d, i or u (decimal integer), o (octal), x, X or p (hexadecimal), f (floating-point), e or E (mantissa and exponent, e.g. 1.23E-22), g or G (f or e format as appropriate to the value printed), c (a single character), s (a string), % (i.e. %% - print a % character). d, i, f, e, g are signed, the rest are unsigned.

The variant fprintf prints to a given output stream and sprintf stores what would be printed in a string variable.

unix manual page: printf(3).