<?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[Strings ausführen?!]]></title><description><![CDATA[<p>Hi,<br />
Ich habe ein Mathematisches programm geschrieben, wo eine Formel mit Variabeln in einem String ist. Nun möchte ic das diese Formel im String am Ende des Codes ausgerechnet wird.<br />
Wie kann ich das Bewerkstelligen?</p>
<p>Danke schonmal!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/128938/strings-ausführen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Jul 2026 20:49:22 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/128938.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 08 Dec 2005 16:33:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Strings ausführen?! on Thu, 08 Dec 2005 16:33:51 GMT]]></title><description><![CDATA[<p>Hi,<br />
Ich habe ein Mathematisches programm geschrieben, wo eine Formel mit Variabeln in einem String ist. Nun möchte ic das diese Formel im String am Ende des Codes ausgerechnet wird.<br />
Wie kann ich das Bewerkstelligen?</p>
<p>Danke schonmal!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/937501</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/937501</guid><dc:creator><![CDATA[DER_PETER]]></dc:creator><pubDate>Thu, 08 Dec 2005 16:33:51 GMT</pubDate></item><item><title><![CDATA[Reply to Strings ausführen?! on Thu, 08 Dec 2005 17:05:56 GMT]]></title><description><![CDATA[<p>String parsen, anders wird's nicht gehen!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/937532</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/937532</guid><dc:creator><![CDATA[Reyx]]></dc:creator><pubDate>Thu, 08 Dec 2005 17:05:56 GMT</pubDate></item><item><title><![CDATA[Reply to Strings ausführen?! on Thu, 08 Dec 2005 18:22:29 GMT]]></title><description><![CDATA[<p>Wie funktioniert dieses &quot;Parsen&quot; ???<br />
Kleines Code-Beispiel wäre sehr nett <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/937576</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/937576</guid><dc:creator><![CDATA[DER_PETER]]></dc:creator><pubDate>Thu, 08 Dec 2005 18:22:29 GMT</pubDate></item><item><title><![CDATA[Reply to Strings ausführen?! on Thu, 08 Dec 2005 18:28:04 GMT]]></title><description><![CDATA[<p>Dafür gibt es kein &quot;kleines Codebeispiel&quot;</p>
<p>Der String ist daraufhin zu untersuchen, welche Teile davon Ziffern sind, welche Teile davon Operatoren sind. Dann ist das zu extrahieren und in der richtigen Reihenfolge (math.) auszuführen. Da sollte die Suche mit googel und String und parsen Treffer ergeben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/937578</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/937578</guid><dc:creator><![CDATA[Christian211]]></dc:creator><pubDate>Thu, 08 Dec 2005 18:28:04 GMT</pubDate></item><item><title><![CDATA[Reply to Strings ausführen?! on Thu, 08 Dec 2005 18:50:40 GMT]]></title><description><![CDATA[<p>Aber wen ich jetzt z.B &quot;a+b=c&quot; habe, sind da ja schon die nötigen rechenoperatoren enthalten. Das heisst man könnte doch einfach diesen Text in den Code einfügen. Ist das n icht möglich einfach einen String auszulesen und dann an einen gbestimmte Platz im Code zu platzieren???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/937588</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/937588</guid><dc:creator><![CDATA[DER_PETER]]></dc:creator><pubDate>Thu, 08 Dec 2005 18:50:40 GMT</pubDate></item><item><title><![CDATA[Reply to Strings ausführen?! on Thu, 08 Dec 2005 19:00:51 GMT]]></title><description><![CDATA[<p>Nein, ist es nicht, C/C++ sind Compilersprachen, d.h. im Gegesatz zu Scriptsprachen wie PERL, wird fertiger Maschinencode erzeugt, während in Scriptsprachen diese zur Laufzeit interpretiert werden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/937596</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/937596</guid><dc:creator><![CDATA[Christian211]]></dc:creator><pubDate>Thu, 08 Dec 2005 19:00:51 GMT</pubDate></item><item><title><![CDATA[Reply to Strings ausführen?! on Thu, 08 Dec 2005 19:15:06 GMT]]></title><description><![CDATA[<p>Ok danke!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/937605</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/937605</guid><dc:creator><![CDATA[DER_PETER]]></dc:creator><pubDate>Thu, 08 Dec 2005 19:15:06 GMT</pubDate></item><item><title><![CDATA[Reply to Strings ausführen?! on Thu, 08 Dec 2005 19:20:29 GMT]]></title><description><![CDATA[<p>evtl bringt dich das weiter<br />
<a href="http://swem.de/parser.htm" rel="nofollow">http://swem.de/parser.htm</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/937611</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/937611</guid><dc:creator><![CDATA[dsfds]]></dc:creator><pubDate>Thu, 08 Dec 2005 19:20:29 GMT</pubDate></item><item><title><![CDATA[Reply to Strings ausführen?! on Sat, 17 Dec 2005 01:54:57 GMT]]></title><description><![CDATA[<p>Christian211 schrieb:</p>
<blockquote>
<p>Nein, ist es nicht, C/C++ sind Compilersprachen, d.h. im Gegesatz zu Scriptsprachen wie PERL, wird fertiger Maschinencode erzeugt, während in Scriptsprachen diese zur Laufzeit interpretiert werden.</p>
</blockquote>
<p>das hat nämlich den vorteil, dass die programme dadurch SEHR viel schneller laufen... ich hab gehört die schnellste skriptsprache ist 20 mal so langsam wie n C++ Programm...<br />
die Skriptsprachen können sowas, weil sie zwangsweise nen Parser eingebaut haben, da sie die sachen ja zur laufzeit interpretieren (u.A. mathematische ausdrücke) müssen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/944024</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/944024</guid><dc:creator><![CDATA[AlgorithMan]]></dc:creator><pubDate>Sat, 17 Dec 2005 01:54:57 GMT</pubDate></item><item><title><![CDATA[Reply to Strings ausführen?! on Sun, 18 Dec 2005 00:06:15 GMT]]></title><description><![CDATA[<p>ich würde sowas auch brauchen, also falls Lösung findest.. her damit! <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>
]]></description><link>https://www.c-plusplus.net/forum/post/944604</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/944604</guid><dc:creator><![CDATA[schnuffel]]></dc:creator><pubDate>Sun, 18 Dec 2005 00:06:15 GMT</pubDate></item></channel></rss>