c 2b 2b ss

Solutions on MaxInterview for c 2b 2b ss by the best coders in the world

showing results for - "c 2b 2b ss"
Alice
17 Mar 2017
1
2stringstream ss;
3
4string numberStr = "654321";
5int num;
6ss << numberStr; 
7ss >> num;
8
9cout << "str type:" << numberStr <<endl;
10cout << "convert to num:" << num <<endl;