Page 1 of 1

Advanced uses of printf, scanf

Posted: Sat Aug 09, 2008 4:36 pm
by A. M. Santos R.
Hi, Can someone provide me a link for learning the complete reference of printf and scanf?
Thanks in advance.

Re: Advanced uses of printf, scanf

Posted: Sat Aug 09, 2008 6:15 pm
by mf
If you're on a Unix system (or cygwin), just type in a console:

Code: Select all

man 3 printf
man 3 scanf
If not, you can try typing that into google :)

Re: Advanced uses of printf, scanf

Posted: Sun Aug 10, 2008 12:40 am
by andmej
What does the 3 mean?

Re: Advanced uses of printf, scanf

Posted: Sun Aug 10, 2008 2:44 am
by mf
It's the section number. Section #3 is about C library functions.
You need to enter it here because section #1 (programs) has an entry about another printf (the program /usr/bin/printf).

See also:

Code: Select all

man man

Re: Advanced uses of printf, scanf

Posted: Tue Aug 12, 2008 4:08 am
by A. M. Santos R.
Thanks. Well, I need some good examples :roll: