|
|
От: |
Mishka
|
|
| Дата: | 13.05.02 14:37 | ||
| Оценка: | |||
#include <iostream>
#include <string>
int main()
{
int x = 100;
char buffer[20];
_itoa(x, buffer, 10); // 10 - это система счисления
std::string s = buffer;
std::cout << s << std::endl;
return 0;
}