468,770 Members | 2,383 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

sprintf function

i've got a bunch of questions for coursework at uni and theres no good notes that i have or been given.

can someone please tell me what a sprintf function does if it was used like this:

sprintf(ok2, "Content-Type: %s\r\n\r\n", typ);

thank u all who help me!
May 9 '07 #1
2 1064
DeMan
1,806 1GB
much the same as printf, except we print to buffer - in this case the buffer is called ok2
May 9 '07 #2
ahh i see, cheers mate
May 9 '07 #3

Post your reply

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

Similar topics

13 posts views Thread by Yodai | last post: by
15 posts views Thread by Earth | last post: by
32 posts views Thread by Michele | last post: by
3 posts views Thread by portergrouptx | last post: by
1 post views Thread by jimjim | last post: by
4 posts views Thread by ypjofficial | last post: by
6 posts views Thread by merrittr | last post: by
15 posts views Thread by krister | last post: by
173 posts views Thread by Ron Ford | last post: by
1 post views Thread by CARIGAR | last post: by
1 post views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.