Boost logo

Boost Users :

From: Andrej van der Zee (mavdzee_at_[hidden])
Date: 2007-07-21 00:03:28


char str[64];
std::cout << boost::str(boost::format("%s") % str);

--- chun ping wang <cablepuff_at_[hidden]> wrote:

> Hmm is there a way for boost::format to function
> like snprintf.
>
> Example
>
> char str[64];
>
> std::cout << boost::format("%s") % str;
> > _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
>
http://lists.boost.org/mailman/listinfo.cgi/boost-users

      ___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net