Skip to main content
10 events
when toggle format what by license comment
Jun 29, 2016 at 9:59 history closed phuclv
Ajay
HaveNoDisplayName
I'm Geeker
CommunityBot
Duplicate of How to convert a std::string to const char* or char*
Jun 29, 2016 at 7:33 review Close votes
Jun 29, 2016 at 9:59
Jun 9, 2012 at 15:07 history edited Sergey K. CC BY-SA 3.0
edited title
Jun 9, 2012 at 5:29 vote accept user1413793
Jun 9, 2012 at 4:58 answer added Jerry Coffin timeline score: 3
Jun 9, 2012 at 4:57 answer added CPlusSharp timeline score: -2
Jun 9, 2012 at 4:55 answer added K-ballo timeline score: 14
Jun 9, 2012 at 4:50 comment added jedwards sprintf() and the buffer-overflow-safe snprintf() will populate a cstring formatted as you specify.
Jun 9, 2012 at 4:49 comment added Qaz The easiest way would be to just make an itos function using a stream, and use itos (564).c_str(), where the function returns foo.str().
Jun 9, 2012 at 4:47 history asked user1413793 CC BY-SA 3.0