printf printf documentation

Description
PRINTF documentation printf("Color %s, number1 %d, number2 %05d, hex %x, float %5.2f, unsigned value %u.\n", "red", 123456, 89, 255, 3.14, 250); will print the following line (including new-line character, \n): Color red, number1 123456, number2 00089, hex ff, float 3.14, unsigned value 250. The function returns the number of characters printed, or a negative value if an output error occurs. [[Common lisp|Common Lisp]] has the function. (format t "Hello, ~a" "world") prints , and was later adopted into the [[Common lisp|Common Lisp]] standard. ===1980s: perl=== [[Perl]] also has a . Some [[Unix]] systems have a program for use in [[shell script]]s. This can be used instead of [[echo (computing)|echo]] in situations where the latter is not portable. For example:


View more videos by h4ck3rm1k3

Related keywords:unix GNU learning computer Linux GPL tutorial standard Journal OPEN science programming Wikipedia SOURCE ansi


Digg StumbleUpon Del.icio.us Reddit Furl Mister Wong

Related Movies

Practical Common Lis

/` 100% Easy /` Shel

The Stumpwm Experien

Photofiltre tutorial

Emacs keyboard macro

How to Get Mac OS X