@nameless
336 / 300 / 14
Регистрация: 16.06.2009
Сообщений: 486
|
15.07.2011, 22:09
|
|
Bars911,
C++ | 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| #include <sstream>
#include <iostream>
#include <string>
int main()
{
std::istringstream stream(std::string("123"));
int number;
stream >> number;
std::cout << number << std::endl;
return 0;
} |
|
0
|