468,513 Members | 1,881 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,513 developers. It's quick & easy.

What does printf do?

i have a question: what does printf do? i have seen it a lot, but cannot find a clear description of what it does. in my learn c++ in 21 days book, it states that it will not teach it in the book. thanks, -Brad
Oct 20 '06 #1
2 8694
arne
315 Expert 100+
i have a question: what does printf do? i have seen it a lot, but cannot find a clear description of what it does. in my learn c++ in 21 days book, it states that it will not teach it in the book. thanks, -Brad
You may have a look at
http://www.cplusplus.com/ref/cstdio/printf.html

It is the first hit for "printf" in Google btw ...
Oct 20 '06 #2
i have a question: what does printf do? i have seen it a lot, but cannot find a clear description of what it does. in my learn c++ in 21 days book, it states that it will not teach it in the book. thanks, -Brad
hi Brad,it good to know that you are interesting in c programming. The purpose of the printf is print on screen word or opertaion etc; it's a built in function in c.It uses the header libaray {stdio.h}.

example printf("the day is beautiful");
what will be printed on screen is : the day is beatiful.

i can even go on to explain in more depth but you should try this frist.
Oct 21 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Paul E Johnson | last post: by
35 posts views Thread by Sunil | last post: by
5 posts views Thread by chandanlinster | last post: by
15 posts views Thread by robert maas, see http://tinyurl.com/uh3t | last post: by
30 posts views Thread by albert.neu | last post: by
3 posts views Thread by chutsu | last post: by
16 posts views Thread by chutsu | last post: by
92 posts views Thread by Heinrich Pumpernickel | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.