8
Olası Çoğalt:
int to std::string?dönüştürme int std için :: dize
Nasıl std için :: dize int dönüştürmek? Stringstream'i kullanabilirsiniz;
Olası Çoğalt:
int to std::string?dönüştürme int std için :: dize
Nasıl std için :: dize int dönüştürmek? Stringstream'i kullanabilirsiniz;
; here bu çaldı:
#include <iostream>
#include <sstream>
int main() {
int number = 123;
std::stringstream ss;
ss << number;
std::cout << ss.str() << endl;
}
See [std için int :: dize?] (Http://stackoverflow.com/questions/893670/int-to-stdstring) –