eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

216
active users

#emscripten

0 posts0 participants0 posts today
MontyOnTheRun<p>Published a WIP demo of Tragrady of the Uncanny as a HTML5 playable game on itch.io. This is a temporary version, since it is being developed with the <a href="https://bitbang.social/tags/gba" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gba</span></a> and <a href="https://bitbang.social/tags/msdos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>msdos</span></a> in mind.</p><p><a href="https://bitbang.social/tags/retrodev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrodev</span></a> <a href="https://bitbang.social/tags/emscripten" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>emscripten</span></a> <br><a href="https://bitbang.social/tags/screenshotsaturday" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>screenshotsaturday</span></a> <br><a href="https://bitbang.social/tags/rpg" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rpg</span></a> <br><a href="https://bitbang.social/tags/dungeoncrawler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dungeoncrawler</span></a> <br><a href="https://bitbang.social/tags/indiegame" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>indiegame</span></a> <br><a href="https://bitbang.social/tags/homebrew" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>homebrew</span></a> <br><a href="https://bitbang.social/tags/PlayOnBSD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PlayOnBSD</span></a> <br><a href="https://bitbang.social/tags/feedbackquest" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>feedbackquest</span></a> <br><a href="https://bitbang.social/tags/gba" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gba</span></a> </p><p>Please provide feedback!</p><p><a href="https://montyontherun.itch.io/sub-mare-imperium-equivalence" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">montyontherun.itch.io/sub-mare</span><span class="invisible">-imperium-equivalence</span></a></p><p>as part of the <a href="https://itch.io/jam/feedback-quest-7-indiegames-x-indie-streamers" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">itch.io/jam/feedback-quest-7-i</span><span class="invisible">ndiegames-x-indie-streamers</span></a> Jam</p>
Vftdan<p><a href="https://mastodon.ml/tags/c" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>c</span></a>++ <a href="https://mastodon.ml/tags/cpp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cpp</span></a> <a href="https://mastodon.ml/tags/emscripten" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>emscripten</span></a> <a href="https://mastodon.ml/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a></p><p>I have this c++ code:<br>```<br>...<br>stringstream stream("23.4f");<br>float f;<br>char c;<br>stream &gt;&gt; f;<br>stream.get(c);<br>cout &lt;&lt; "Float = " &lt;&lt; f &lt;&lt; endl &lt;&lt; "Character = " &lt;&lt; c &lt;&lt; endl;<br>...<br>```</p><p>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 &amp; failed stream. What could be causing this problem?</p>