<?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[vector&amp;lt;CString&amp;gt; in ComboBox]]></title><description><![CDATA[<p>Hi.</p>
<p>weiß jemand wie ich eine Variable vom Datentyp &quot;vector&lt;CString&gt;&quot; in eine ComboBox reinschreibe?<br />
Bei ComboBoxen geht das ja nur mit AddString. Aber in meiner Variable ist eine Tabelle drin (die ich durch einen Sql-Befehl bekommen habe) und diese Tabelle soll in die ComboBox rein.<br />
Hat jmd ne Ahnung?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/174032/vector-lt-cstring-gt-in-combobox</link><generator>RSS for Node</generator><lastBuildDate>Sat, 25 Apr 2026 17:43:14 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/174032.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 22 Feb 2007 11:49:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to vector&amp;lt;CString&amp;gt; in ComboBox on Thu, 22 Feb 2007 11:49:27 GMT]]></title><description><![CDATA[<p>Hi.</p>
<p>weiß jemand wie ich eine Variable vom Datentyp &quot;vector&lt;CString&gt;&quot; in eine ComboBox reinschreibe?<br />
Bei ComboBoxen geht das ja nur mit AddString. Aber in meiner Variable ist eine Tabelle drin (die ich durch einen Sql-Befehl bekommen habe) und diese Tabelle soll in die ComboBox rein.<br />
Hat jmd ne Ahnung?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1233182</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1233182</guid><dc:creator><![CDATA[Maksss]]></dc:creator><pubDate>Thu, 22 Feb 2007 11:49:27 GMT</pubDate></item><item><title><![CDATA[Reply to vector&amp;lt;CString&amp;gt; in ComboBox on Thu, 22 Feb 2007 12:03:42 GMT]]></title><description><![CDATA[<p>Du iterierst einfach durch den vector und fügst jeden CString einzeln in die ComboBox mit AddString ein.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1233205</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1233205</guid><dc:creator><![CDATA[Airdamn]]></dc:creator><pubDate>Thu, 22 Feb 2007 12:03:42 GMT</pubDate></item><item><title><![CDATA[Reply to vector&amp;lt;CString&amp;gt; in ComboBox on Thu, 22 Feb 2007 13:25:00 GMT]]></title><description><![CDATA[<p>ok. hört sich echt gut an. muss ich gleich mal ausprobieren.</p>
<p>aber noch ne kurze frage.<br />
ich habe eine funktion die die variable &quot;vector&lt;CString&gt; collation&quot; mit einer tabelle füllt.<br />
diese funktion liefert mir die variable collation zurück.<br />
in einer anderen klasse brauche ich diese collation. nämlich um die combobox zu füllen.</p>
<p>wie schreibe ich denn die einzelnen zeilen in die box rein?<br />
denn deine schleife zählt zwar i hoch, aber das i wird ja von meiner variable nicht verwendet.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1233287</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1233287</guid><dc:creator><![CDATA[Maksss]]></dc:creator><pubDate>Thu, 22 Feb 2007 13:25:00 GMT</pubDate></item><item><title><![CDATA[Reply to vector&amp;lt;CString&amp;gt; in ComboBox on Thu, 22 Feb 2007 13:28:33 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">for(int i=0;i&lt;collation.size();++i) AddString(collation[i]);
//oder
for(vector&lt;CString&gt;::iterator p=collation.begin();p!=collation.end();++p) AddString(*p);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1233291</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1233291</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Thu, 22 Feb 2007 13:28:33 GMT</pubDate></item></channel></rss>