I'm trying to compile a list of alternative forms of printf. What other functions have the same capability as printf?
Printable View
I'm trying to compile a list of alternative forms of printf. What other functions have the same capability as printf?
if you are using type string
another one but using printf in defineCode:puts(char); ==printf("%s",char);
[code]
#define ret printf("\n/*or anythings*/")
/*into any function
you can use this*/
ret;
[/code ]
You mean like fprintf(), sprintf() etc ?
what do you mean by "capability"?
do you mean what other functions write (to either STDOUT or elesewhere)?
and my personal favorite - write()
Code:printf, fprintf, sprintf, snprintf, vprintf, vfprintf,
vsprintf, vsnprintf