Click here to Skip to main content
15,896,540 members
Articles / Programming Languages / C++

How to Format a String

Rate me:
Please Sign up or sign in to vote.
3.20/5 (21 votes)
9 Aug 2006CPOL1 min read 79.6K   621   11  
This article illustrates how to format a std::string using a variable argument list similar to CString's Format.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
CEO Aspen Insights
United States United States
Walter Storm is currently doing quantitative research and data science. Originally from Tunkhannock, PA., he has a B.S. in Aerospace Engineering from Embry-Riddle Aeronautical University[^], and an M.S. in Systems Engineering from SMU[^]. He has been professionally developing software in some form or another since January of 2001.

View Walter Storm's profile on LinkedIn.[^]

Comments and Discussions