<?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[Inhalte von array zählen]]></title><description><![CDATA[<p>Hallo,<br />
ich möchte gerne für jeden Buchstaben in einem Editfeld etwas ausführen.<br />
Ich habe es so probeiert: (Das einzige was ich im Internet fand)</p>
<p>for(int i=0;i&lt;(sizeof(Edit2-&gt;Text.c_str()) / sizeof (char*));i++) {</p>
<p>Fehler: Project Project2.exe raised Exception class ERangeError with Message ''. Process stopped press Step or Run to Continue</p>
<p>Wenn ich dann auf wieder auf Ausführen klicke, dann kommt die gleiche Meldung nochmal</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/194512/inhalte-von-array-zählen</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 05:50:54 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/194512.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 07 Oct 2007 20:34:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Inhalte von array zählen on Sun, 07 Oct 2007 20:34:30 GMT]]></title><description><![CDATA[<p>Hallo,<br />
ich möchte gerne für jeden Buchstaben in einem Editfeld etwas ausführen.<br />
Ich habe es so probeiert: (Das einzige was ich im Internet fand)</p>
<p>for(int i=0;i&lt;(sizeof(Edit2-&gt;Text.c_str()) / sizeof (char*));i++) {</p>
<p>Fehler: Project Project2.exe raised Exception class ERangeError with Message ''. Process stopped press Step or Run to Continue</p>
<p>Wenn ich dann auf wieder auf Ausführen klicke, dann kommt die gleiche Meldung nochmal</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1380076</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1380076</guid><dc:creator><![CDATA[hujiko]]></dc:creator><pubDate>Sun, 07 Oct 2007 20:34:30 GMT</pubDate></item><item><title><![CDATA[Reply to Inhalte von array zählen on Sun, 07 Oct 2007 20:41:39 GMT]]></title><description><![CDATA[<p>TEdit::Text ist vom Typ AnsiString, und AnsiString hat den []-Operator implementiert.</p>
<pre><code class="language-cpp">for (int x = 1; x &lt;= Edit1-&gt;Text.Length(); x++)
  char ch = Edit1-&gt;Text[x];
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1380085</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1380085</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Sun, 07 Oct 2007 20:41:39 GMT</pubDate></item><item><title><![CDATA[Reply to Inhalte von array zählen on Sun, 07 Oct 2007 20:52:25 GMT]]></title><description><![CDATA[<p>Danke, hat erfekt geklappt, nun habe ich aber noch eine Frage:</p>
<p>Ich sende mit keybd_event an ein Prgramm.<br />
Wenn ich Zahlen sende, geht alles, wenn ich Buchstaben sende, kommt nichts an...</p>
<pre><code class="language-cpp">keybd_event(LabeledEdit2-&gt;Text[x], 0, 0, 0);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1380100</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1380100</guid><dc:creator><![CDATA[hujiko]]></dc:creator><pubDate>Sun, 07 Oct 2007 20:52:25 GMT</pubDate></item><item><title><![CDATA[Reply to Inhalte von array zählen on Sun, 07 Oct 2007 21:48:57 GMT]]></title><description><![CDATA[<p>Siehe <a href="http://c-plusplus.net/forum/viewtopic-var-t-is-39305.html" rel="nofollow">FAQ</a>, unter &quot;System - Text an fremde Fenster schicken&quot;.</p>
<p>In Zukunft aber bitte die Faustregel beachten: ein Thema pro Thread, ein Thread pro Thema.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1380134</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1380134</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Sun, 07 Oct 2007 21:48:57 GMT</pubDate></item><item><title><![CDATA[Reply to Inhalte von array zählen on Mon, 08 Oct 2007 12:58:20 GMT]]></title><description><![CDATA[<p>Sorry, werde ich nächstes mal machen.</p>
<p>Ich habe die FAQ natürlich gelesen.<br />
Nur hat der Code nicht funktioniert (habe den mit CLipboard genommen)</p>
<p>Nun habe ich den ersten genommen, und es geht</p>
<p>Trotzdem Vielen Dank <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/1380461</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1380461</guid><dc:creator><![CDATA[hujiko]]></dc:creator><pubDate>Mon, 08 Oct 2007 12:58:20 GMT</pubDate></item></channel></rss>