<?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[Array vs Vector vs ...]]></title><description><![CDATA[<p>Hallo,<br />
das Folgende habe ich vor.</p>
<p>Ich habe Börsenkurse zu 110 verschiedenen Aktien und will diese nun alle in mein Programm so laden, dass sie permanent verfügbar sind. Dabei ist zu beachten, dass unterschiedlich lange Zeitreihen vorliegen, man kann also nicht einfach ein Array der Länge x nehmen.</p>
<p>Die Struktur der Daten ist folgende:<br />
Date,Open,High,Low,Close,Volume,Adj. Close*</p>
<p>Was schlagt ihr vor?</p>
<p>Grüße,<br />
Michael</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/169630/array-vs-vector-vs</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Apr 2026 23:57:13 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/169630.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 07 Jan 2007 10:21:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Array vs Vector vs ... on Sun, 07 Jan 2007 10:21:25 GMT]]></title><description><![CDATA[<p>Hallo,<br />
das Folgende habe ich vor.</p>
<p>Ich habe Börsenkurse zu 110 verschiedenen Aktien und will diese nun alle in mein Programm so laden, dass sie permanent verfügbar sind. Dabei ist zu beachten, dass unterschiedlich lange Zeitreihen vorliegen, man kann also nicht einfach ein Array der Länge x nehmen.</p>
<p>Die Struktur der Daten ist folgende:<br />
Date,Open,High,Low,Close,Volume,Adj. Close*</p>
<p>Was schlagt ihr vor?</p>
<p>Grüße,<br />
Michael</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1204850</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1204850</guid><dc:creator><![CDATA[mhecker]]></dc:creator><pubDate>Sun, 07 Jan 2007 10:21:25 GMT</pubDate></item><item><title><![CDATA[Reply to Array vs Vector vs ... on Sun, 07 Jan 2007 11:14:28 GMT]]></title><description><![CDATA[<p>Dann nim doch ne Liste, oder was suchst Du?</p>
<p>Gruß Matthias</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1204871</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1204871</guid><dc:creator><![CDATA[CTecS]]></dc:creator><pubDate>Sun, 07 Jan 2007 11:14:28 GMT</pubDate></item><item><title><![CDATA[Reply to Array vs Vector vs ... on Sun, 07 Jan 2007 12:46:08 GMT]]></title><description><![CDATA[<p>Dynamsiche Container wie std::vector lösen das Problem doch für Dich!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1204928</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1204928</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Sun, 07 Jan 2007 12:46:08 GMT</pubDate></item><item><title><![CDATA[Reply to Array vs Vector vs ... on Sun, 07 Jan 2007 13:05:07 GMT]]></title><description><![CDATA[<p>Ich bin irgendwie davon ausgegangen, dass man keine CListCtrl-Arrays anlegen kann, was falsch war. Ich löse es jetzt damit.</p>
<p>Danke,<br />
Michael</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1204948</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1204948</guid><dc:creator><![CDATA[mhecker]]></dc:creator><pubDate>Sun, 07 Jan 2007 13:05:07 GMT</pubDate></item><item><title><![CDATA[Reply to Array vs Vector vs ... on Wed, 24 Jan 2007 23:21:32 GMT]]></title><description><![CDATA[<p>Hallo,<br />
leider muss ich dieses Thema nochmal aufbringen.</p>
<p>Ich hatte das Problem bisher so gelöst:</p>
<pre><code class="language-cpp">CListCtrl* stockDB;
// Schritt 2: stockDB initiieren
		stockDB = new CListCtrl[symbols_count];

		for (int i = 0; i &lt; symbols_count; i++)
		{

	//	stockDB[i].Create(WS_CHILD|WS_VISIBLE|LVS_REPORT, CRect(250*i,100,(250*i)+200,400), this, i);
		stockDB[i].Create(WS_CHILD|WS_MINIMIZE|LVS_REPORT, CRect(-1,-1,-1,-1), this, i);

			for(int g=0; g&lt;col_labels.GetSize();g++)
			{
				stockDB[i].InsertColumn(g, col_labels[g], LVCFMT_LEFT, 90);
			}
		}
</code></pre>
<p>Ich habe also ein Array, über das ich auf eine dynamische Anzahl von CListCtrl's zugreife. Jede CListCtrl hat dabei die Daten eines Wertpapiers aufgenommen.</p>
<p>Nachdem ich nun seit Wochen an dem Programm schreibe, muss ich leider feststellen, dass die aktuelle Lösung extrem schlecht ist, da 1. der Zugriff beim einlesen der Daten zu lange dauert und 2. wenn das Programm beendet wird, ich über delete[] stockDB; das Array lösche, was allein ca. 5 Sekunden dauert und außerdem manchmal zu Memory Leaks führt.</p>
<p>Es muss also eine deutlich bessere Lösung her. Welche?</p>
<p>Ich hatte mir überlegt, ein struct passend zu meinen Datenssätzen zu schreiben (Date, High, Low etc.) und dann einen Vector mit diesem Datentyp anzulegen aber ich will nicht die Kursdaten aller Unternehmen in einem Vector haben.</p>
<p>Ich brauche dringend eure Hilfe!</p>
<p>Danke,<br />
Michael</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1216513</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1216513</guid><dc:creator><![CDATA[mhecker]]></dc:creator><pubDate>Wed, 24 Jan 2007 23:21:32 GMT</pubDate></item><item><title><![CDATA[Reply to Array vs Vector vs ... on Thu, 25 Jan 2007 08:26:23 GMT]]></title><description><![CDATA[<p>CListCtrl ist nicht bekannt für ne Riesenperformance.</p>
<p>Außerdem erzeugst Du mit jedem Eintrag einen großen Overhead. Du hast 110 Aktien * 250 Kurstage * x Jahre.</p>
<p>Die von der Erzeugungszeit und Zugriffszeit her beste Lösung wäre es ein struct mit Open,High,.. zu erzeugen und den Steicherplatz direkt mit malloc zu erzeugen.</p>
<p>Praktischer gehts natürlich mit nem vektor oder einer liste der standard library.</p>
<p>std::vector&lt;structname&gt; VectorName<br />
oder<br />
std::list&lt;structname&gt; ListName</p>
<p>Du mußt dich dann entscheiden was besser ist.<br />
Allerdings wird die Erzeugung bei großen Datenmenge mit der std auch das etwas Zeit in Anspruch nehmen, aber nicht so lange wie mit ner CListCtrl.</p>
<p>Babbage</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1216607</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1216607</guid><dc:creator><![CDATA[Babbage]]></dc:creator><pubDate>Thu, 25 Jan 2007 08:26:23 GMT</pubDate></item><item><title><![CDATA[Reply to Array vs Vector vs ... on Thu, 25 Jan 2007 18:18:56 GMT]]></title><description><![CDATA[<p>Über diese Variante habe ich auch schon nachgedacht:<br />
std::vector&lt;structname&gt; VectorName</p>
<p>Aber das ganze muss gut organisiert sein.<br />
Ist es möglich einen Vector anzulegen, über den ich einen weiteren Vector ansprechen kann, in dem dann die Daten liegen?</p>
<p>also z.B.</p>
<p>db1[0].stockdata[0]</p>
<p>in db1 liegen alle Vectorern und in stockdata die Kursdaten.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1217093</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1217093</guid><dc:creator><![CDATA[mhecker]]></dc:creator><pubDate>Thu, 25 Jan 2007 18:18:56 GMT</pubDate></item><item><title><![CDATA[Reply to Array vs Vector vs ... on Fri, 26 Jan 2007 08:03:20 GMT]]></title><description><![CDATA[<p>std::vector&lt; std::vector&lt;structname&gt; &gt; VectorName;</p>
<p>oder</p>
<p>std::vector&lt;structname&gt; VectorName[110];</p>
<p>Zugriff dann:<br />
VectorName[i][j]=struct;</p>
<p>Geht beides.</p>
<p>Noch was. Fall Dir voher bekannt ist wie groß der Verktor wird kannst Du ihn mit resize auf die geplante Größe setzen.<br />
Dann wird er nicht 10000 mal verlängert.</p>
<p>Babbage</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1217339</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1217339</guid><dc:creator><![CDATA[Babbage]]></dc:creator><pubDate>Fri, 26 Jan 2007 08:03:20 GMT</pubDate></item><item><title><![CDATA[Reply to Array vs Vector vs ... on Fri, 26 Jan 2007 12:46:03 GMT]]></title><description><![CDATA[<p>Klasse, werde ich heute Abend testen. Vielen Dank!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1217548</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1217548</guid><dc:creator><![CDATA[mhecker]]></dc:creator><pubDate>Fri, 26 Jan 2007 12:46:03 GMT</pubDate></item><item><title><![CDATA[Reply to Array vs Vector vs ... on Fri, 26 Jan 2007 19:56:32 GMT]]></title><description><![CDATA[<p>std::vector&lt; std::vector&lt;data&gt; &gt; data1_db;</p>
<p>führt zu:</p>
<p>--------------------Konfiguration: Sherlock - Win32 Debug--------------------<br />
Kompilierung läuft...<br />
communication.cpp<br />
c:\programme\microsoft visual studio\vc98\include\utility(21) : warning C4786: 'std::reverse_iterator&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; const *,std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt;,std<br />
::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; const &amp;,std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; const *,int&gt;' : Bezeichner wurde auf '255' Zeichen in den Debug-Informationen reduziert<br />
c:\programme\microsoft visual studio\vc98\include\utility(21) : warning C4786: 'std::reverse_iterator&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; *,std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt;,std::vect<br />
or&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; &amp;,std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; *,int&gt;' : Bezeichner wurde auf '255' Zeichen in den Debug-Informationen reduziert<br />
Generieren von Code...<br />
Kompilieren...<br />
Sherlock.cpp<br />
c:\programme\microsoft visual studio\vc98\include\vector(60) : warning C4786: 'std::reverse_iterator&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; const *,std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt;,std:<br />
:vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; const &amp;,std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; const *,int&gt;' : Bezeichner wurde auf '255' Zeichen in den Debug-Informationen reduziert<br />
c:\programme\microsoft visual studio\vc98\include\vector(58) : Bei der Kompilierung der Member-Funktion '__thiscall std::vector&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt;,std::allocator&lt;std::vector&lt;CSherlockDlg::data<br />
,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; &gt; &gt;::~std::vector&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt;,std::allocator&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; &gt; &gt;(void)' der Klassenvorlage<br />
c:\programme\microsoft visual studio\vc98\include\vector(60) : warning C4786: 'std::reverse_iterator&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; *,std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt;,std::vecto<br />
r&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; &amp;,std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; *,int&gt;' : Bezeichner wurde auf '255' Zeichen in den Debug-Informationen reduziert<br />
c:\programme\microsoft visual studio\vc98\include\vector(58) : Bei der Kompilierung der Member-Funktion '__thiscall std::vector&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt;,std::allocator&lt;std::vector&lt;CSherlockDlg::data<br />
,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; &gt; &gt;::~std::vector&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt;,std::allocator&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; &gt; &gt;(void)' der Klassenvorlage<br />
SherlockDlg.cpp<br />
c:\programme\microsoft visual studio\vc98\include\vector(39) : warning C4786: 'std::reverse_iterator&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; const *,std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt;,std:<br />
:vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; const &amp;,std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; const *,int&gt;' : Bezeichner wurde auf '255' Zeichen in den Debug-Informationen reduziert<br />
c:\programme\microsoft visual studio\vc98\include\vector(39) : Bei der Kompilierung der Member-Funktion '__thiscall std::vector&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt;,std::allocator&lt;std::vector&lt;CSherlockDlg::data<br />
,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; &gt; &gt;::std::vector&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt;,std::allocator&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; &gt; &gt;(const std::allocator&lt;std::vector&lt;CSherl<br />
ockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; &gt; &amp;)' der Klassenvorlage<br />
c:\programme\microsoft visual studio\vc98\include\vector(39) : warning C4786: 'std::reverse_iterator&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; *,std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt;,std::vecto<br />
r&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; &amp;,std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; *,int&gt;' : Bezeichner wurde auf '255' Zeichen in den Debug-Informationen reduziert<br />
c:\programme\microsoft visual studio\vc98\include\vector(39) : Bei der Kompilierung der Member-Funktion '__thiscall std::vector&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt;,std::allocator&lt;std::vector&lt;CSherlockDlg::data<br />
,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; &gt; &gt;::std::vector&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt;,std::allocator&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; &gt; &gt;(const std::allocator&lt;std::vector&lt;CSherl<br />
ockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; &gt; &amp;)' der Klassenvorlage<br />
Generieren von Code...<br />
c:\programme\microsoft visual studio\vc98\include\vector(39) : warning C4786: 'std::vector&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt;,std::allocator&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; &gt; &gt;::ve<br />
ctor&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt;,std::allocator&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; &gt; &gt;' : Bezeichner wurde auf '255' Zeichen in den Debug-Informationen verkürzt<br />
c:\programme\microsoft visual studio\vc98\include\vector(60) : warning C4786: 'std::vector&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt;,std::allocator&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; &gt; &gt;::~v<br />
ector&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt;,std::allocator&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; &gt; &gt;' : Bezeichner wurde auf '255' Zeichen in den Debug-Informationen verkürzt<br />
c:\programme\microsoft visual studio\vc98\include\vector(60) : warning C4786: 'std::vector&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt;,std::allocator&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; &gt; &gt;::~v<br />
ector&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt;,std::allocator&lt;std::vector&lt;CSherlockDlg::data,std::allocator<a href="CSherlockDlg::data" rel="nofollow">CSherlockDlg::data</a> &gt; &gt; &gt;' : Bezeichner wurde auf '255' Zeichen in den Debug-Informationen verkürzt<br />
Linker-Vorgang läuft...</p>
<p>Sherlock.exe - 0 Fehler, 9 Warnung(en)</p>
<p>--</p>
<p>Kann mir das jemand erklären bzw. sagen, wie ich die Warnung wegbekomme?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1217777</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1217777</guid><dc:creator><![CDATA[mhecker]]></dc:creator><pubDate>Fri, 26 Jan 2007 19:56:32 GMT</pubDate></item><item><title><![CDATA[Reply to Array vs Vector vs ... on Fri, 26 Jan 2007 19:59:48 GMT]]></title><description><![CDATA[<p>Die Warnungen kann man nur per</p>
<p>#pragma warning(disable:4786)</p>
<p>ignorieren.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1217779</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1217779</guid><dc:creator><![CDATA[.........]]></dc:creator><pubDate>Fri, 26 Jan 2007 19:59:48 GMT</pubDate></item><item><title><![CDATA[Reply to Array vs Vector vs ... on Fri, 26 Jan 2007 20:03:31 GMT]]></title><description><![CDATA[<p>Aber warum taucht die Warnung auf?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1217782</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1217782</guid><dc:creator><![CDATA[mhecker]]></dc:creator><pubDate>Fri, 26 Jan 2007 20:03:31 GMT</pubDate></item><item><title><![CDATA[Reply to Array vs Vector vs ... on Fri, 26 Jan 2007 20:19:46 GMT]]></title><description><![CDATA[<p>Und warum werden in einer MFC-Anwendung nicht die Rutinen und Operatoren des Vectors angezeigt, wenn man diesen global definiert hat?</p>
<p>ich meine:</p>
<p>vector1[0].push_back ... Nachdem man den . (Punkt) drückt, erscheint doch sonst ein Kästchen, wo alle Rutinen etc. drinstehen.</p>
<p>Grüße,<br />
Michael</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1217792</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1217792</guid><dc:creator><![CDATA[mhecker]]></dc:creator><pubDate>Fri, 26 Jan 2007 20:19:46 GMT</pubDate></item><item><title><![CDATA[Reply to Array vs Vector vs ... on Fri, 26 Jan 2007 20:26:39 GMT]]></title><description><![CDATA[<p>IntelliSense funktioniert nicht zuverlässig. Wenn du das zuverlässig haben willst musst du dir Visual Assist X kaufen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1217799</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1217799</guid><dc:creator><![CDATA[.........]]></dc:creator><pubDate>Fri, 26 Jan 2007 20:26:39 GMT</pubDate></item><item><title><![CDATA[Reply to Array vs Vector vs ... on Fri, 26 Jan 2007 21:46:26 GMT]]></title><description><![CDATA[<p>Kay, thx</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1217859</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1217859</guid><dc:creator><![CDATA[mhecker]]></dc:creator><pubDate>Fri, 26 Jan 2007 21:46:26 GMT</pubDate></item><item><title><![CDATA[Reply to Array vs Vector vs ... on Sat, 27 Jan 2007 00:12:52 GMT]]></title><description><![CDATA[<p>Zu beiden Fragen (doofe Warnung und IntelliSense Versagen): weil du immer noch Visual C++ 6 verwendest.</p>
<p>Die Warnung kannst du im übrigen getrost ignorieren, die besagt nur dass der Name in der Debug-Info &quot;beschnitten&quot; werden, weil VC 6 zu doof ist lange Namen in der Debug-Info zu speichern. Keine Ahnung wieso - vielleicht haben sich die auch nur gedacht &quot;255 Zeichen reicht eh locker&quot;...</p>
<p>Und das #pragma warning(disable:4786) sollte am besten ganz am Anfang des Programmes stehen, also falls du Precompiled-Headers verwendest auch ganz oben in der &quot;stdafx.h&quot;. Sonst funktioniert es nämlich nicht. Frag mich aber bloss nicht wieso...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1217908</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1217908</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Sat, 27 Jan 2007 00:12:52 GMT</pubDate></item><item><title><![CDATA[Reply to Array vs Vector vs ... on Sat, 27 Jan 2007 08:47:36 GMT]]></title><description><![CDATA[<p>#pragma warning( disable : 4786 )</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1217943</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1217943</guid><dc:creator><![CDATA[Babbage]]></dc:creator><pubDate>Sat, 27 Jan 2007 08:47:36 GMT</pubDate></item><item><title><![CDATA[Reply to Array vs Vector vs ... on Mon, 29 Jan 2007 08:39:59 GMT]]></title><description><![CDATA[<p>hustbaer schrieb:</p>
<blockquote>
<p>Und das #pragma warning(disable:4786) sollte am besten ganz am Anfang des Programmes stehen, also falls du Precompiled-Headers verwendest auch ganz oben in der &quot;stdafx.h&quot;. Sonst funktioniert es nämlich nicht. Frag mich aber bloss nicht wieso...</p>
</blockquote>
<p>Der Präprozessor arbeitet zeilenorientiert, deshalb schaltet dieses #pragma die Warnungen von dem Punkt an aus, an dem es steht (bis zum Ende der Datei oder bis zum zugehörigen <code>#pragma warning(default:4786)</code> ). In Headern, die du vorher schon eingebunden hattest, kommt die Warnung trotzdem vor.</p>
<p>Zum Sinn DIESER Warnung: Der Debugger von VC kann keine unbegrenzt langen Bezeichner lesen, deshalb werden diese entsprechend abgeschnitten (zusammen mit einem Hinweis für den Programmierer). Und gerade in der STL kann da einiges zusammenkommen, wenn die typedefs und Default-Parameter für die STL-Klassen aufgelöst werden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1218995</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1218995</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Mon, 29 Jan 2007 08:39:59 GMT</pubDate></item></channel></rss>