Skip to content
Search
Advanced search
Quick links
Unanswered topics
Active topics
Search
The team
FAQ
Login
Register
Board index
Technologies技术
Profession职业
Search
无需buffer,将int转stl:string
Keep Open and Learning
Post Reply
Print view
Search
Advanced search
1 post • Page
1
of
1
星际浪子
Posts:
3597
Joined:
01 May 2009 23:45
无需buffer,将int转stl:string
Quote
Post
by
星际浪子
»
07 Jul 2011 17:02
#include <string>
#include <sstream>
using namespace std;
int main()
{
string str("aa");
stringstream ss;
ss<<123;
str += ss.str();
return 0;
}
Top
Post Reply
Print view
1 post • Page
1
of
1
Return to “Profession职业”
Jump to
Technologies技术
↳ Profession职业
LIFE生活
↳ Health健康
↳ UNDERSTANDING感悟