convert char or string to int or double

Solutions on MaxInterview for convert char or string to int or double by the best coders in the world

showing results for - "convert char or string to int or double"
Edoardo
23 Oct 2017
1#include <sstream>
2
3using namespace std;
4
5int main()
6{
7    stringstream str;
8    
9    str << "1";
10
11    double x;
12    str >> x;
13}
similar questions
queries leading to this page
convert char or string to int or double