#c++ #cpp #emscripten #programming
I have this c++ code:
```
...
stringstream stream("23.4f");
float f;
char c;
stream >> f;
stream.get(c);
cout << "Float = " << f << endl << "Character = " << c << endl;
...
```
In ideone.com it works as expected (f = 23.4, c = 'f'). But when I have a code, that should be essentially equivalent, and I compile it with em++ (emscripten), I get f = 0 & failed stream. What could be causing this problem?
Слушаю Регулярки #33:
@drq : "Мне нужно было собрать что-то и я создал виртуалку с названием Evv1L Install Gentoo"
How dare you
Going to be software dev
Like linux, FOSS, configurability, distributed systems (but crypto — not so much)
Who am I? :shrug:
What do I do here? Repost — often, comment — sometimes, create non-reply posts — rarely