<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[string to long long wandeln]]></title><description><![CDATA[<p>Hallo zusammen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /> ,</p>
<p>wie kann ich denn den String 4226172564 in den Typ long long wandeln. String to<br />
long geht realtiv einfach (siehe Beispiel) sogar als Einzeiler aber string to<br />
long long?? Irgenwo hab ich gelesen (geguckelt) mit atoll würde es gehn aber da<br />
bekomm ich ne Fehlermeldung &quot;atoll Bezeichner nicht gefunden&quot;....</p>
<p>Beispiel: longvariable = atol(stringvariable.c_str());</p>
<p>Vielen Dank im voraus, gruss rommi</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/235104/string-to-long-long-wandeln</link><generator>RSS for Node</generator><lastBuildDate>Thu, 24 Sep 2026 06:36:45 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/235104.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 Feb 2009 17:57:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to string to long long wandeln on Wed, 25 Feb 2009 17:57:32 GMT]]></title><description><![CDATA[<p>Hallo zusammen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /> ,</p>
<p>wie kann ich denn den String 4226172564 in den Typ long long wandeln. String to<br />
long geht realtiv einfach (siehe Beispiel) sogar als Einzeiler aber string to<br />
long long?? Irgenwo hab ich gelesen (geguckelt) mit atoll würde es gehn aber da<br />
bekomm ich ne Fehlermeldung &quot;atoll Bezeichner nicht gefunden&quot;....</p>
<p>Beispiel: longvariable = atol(stringvariable.c_str());</p>
<p>Vielen Dank im voraus, gruss rommi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1670233</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1670233</guid><dc:creator><![CDATA[rommi]]></dc:creator><pubDate>Wed, 25 Feb 2009 17:57:32 GMT</pubDate></item><item><title><![CDATA[Reply to string to long long wandeln on Wed, 25 Feb 2009 17:59:46 GMT]]></title><description><![CDATA[<p>Den entsprechenden Header eingebunden?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1670236</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1670236</guid><dc:creator><![CDATA[knivil]]></dc:creator><pubDate>Wed, 25 Feb 2009 17:59:46 GMT</pubDate></item><item><title><![CDATA[Reply to string to long long wandeln on Wed, 25 Feb 2009 18:01:06 GMT]]></title><description><![CDATA[<p>In C++ macht man das üblicherweise mit stringstreams. Und das funktioniert auch, sofern deine Implementierung long long unterstützt, was nicht im Standard vorgeschrieben ist.</p>
<pre><code class="language-cpp">std::stringstream s;
std::string str (&quot;4226172564&quot;);
long long z = 0;
s &lt;&lt; str;
s &gt;&gt; z;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1670238</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1670238</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Wed, 25 Feb 2009 18:01:06 GMT</pubDate></item><item><title><![CDATA[Reply to string to long long wandeln on Thu, 26 Feb 2009 00:28:13 GMT]]></title><description><![CDATA[<p>Hallo zusammen,<br />
vielen Dank hat gut geklappt! Hatte anfangs noch vergessen #include &lt;sstream&gt; zu laden.</p>
<p>Gruss, rommi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1670413</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1670413</guid><dc:creator><![CDATA[rommi]]></dc:creator><pubDate>Thu, 26 Feb 2009 00:28:13 GMT</pubDate></item></channel></rss>