<?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 macht probleme]]></title><description><![CDATA[<p>Hallo, ich bekommen nach Änderungen immer folgende Fehlermeldung V2008:</p>
<p>error C2143: Syntaxfehler: Es fehlt ';' vor '&lt;'.</p>
<p>Irgendwie bin ihc blind, vorher mit einem struct gings noch, sieht einer im Suchbild den Fehler. Kann leider keine 50 Euro auf Leitung 3 bieten, aber ein Dank ist euch sicher :). Hier der Code direkt aus der Header wo der Fehler bei vector erstellen angezeigt wird:</p>
<p>typedef struct {<br />
int task_ident;<br />
int task_status;<br />
int task_lokal;<br />
}MIN_TASK;</p>
<p>typedef struct {<br />
int CPU;<br />
int MEM;<br />
uint32 Node;<br />
}RESSOURCES;</p>
<p>class jobscheduler<br />
{<br />
public:<br />
static void add_task(int a, int b);<br />
static void spread_task();<br />
static void debug_show_tasks();<br />
static void get_new_ressource(int a, int b, uint32 Node);<br />
private:<br />
vector&lt;MIN_TASK&gt; task_coll;<br />
vector&lt;RESSOURCES&gt; ressource_coll;<br />
};</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/268351/vector-macht-probleme</link><generator>RSS for Node</generator><lastBuildDate>Wed, 02 Sep 2026 00:14:08 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/268351.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 07 Jun 2010 21:46:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to vector macht probleme on Mon, 07 Jun 2010 21:46:12 GMT]]></title><description><![CDATA[<p>Hallo, ich bekommen nach Änderungen immer folgende Fehlermeldung V2008:</p>
<p>error C2143: Syntaxfehler: Es fehlt ';' vor '&lt;'.</p>
<p>Irgendwie bin ihc blind, vorher mit einem struct gings noch, sieht einer im Suchbild den Fehler. Kann leider keine 50 Euro auf Leitung 3 bieten, aber ein Dank ist euch sicher :). Hier der Code direkt aus der Header wo der Fehler bei vector erstellen angezeigt wird:</p>
<p>typedef struct {<br />
int task_ident;<br />
int task_status;<br />
int task_lokal;<br />
}MIN_TASK;</p>
<p>typedef struct {<br />
int CPU;<br />
int MEM;<br />
uint32 Node;<br />
}RESSOURCES;</p>
<p>class jobscheduler<br />
{<br />
public:<br />
static void add_task(int a, int b);<br />
static void spread_task();<br />
static void debug_show_tasks();<br />
static void get_new_ressource(int a, int b, uint32 Node);<br />
private:<br />
vector&lt;MIN_TASK&gt; task_coll;<br />
vector&lt;RESSOURCES&gt; ressource_coll;<br />
};</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1908644</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1908644</guid><dc:creator><![CDATA[greenghecco]]></dc:creator><pubDate>Mon, 07 Jun 2010 21:46:12 GMT</pubDate></item><item><title><![CDATA[Reply to vector macht probleme on Mon, 07 Jun 2010 21:55:23 GMT]]></title><description><![CDATA[<p>Hallo greenghecco,</p>
<p>falls es noch nicht geschehen ist, solltest Du vorher #include &lt;vector&gt; einfügen und dem vector&lt;..&gt; ein std:: voranstellen.</p>
<p>Gruß<br />
Werner</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1908647</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1908647</guid><dc:creator><![CDATA[Werner Salomon]]></dc:creator><pubDate>Mon, 07 Jun 2010 21:55:23 GMT</pubDate></item><item><title><![CDATA[Reply to vector macht probleme on Mon, 07 Jun 2010 21:56:39 GMT]]></title><description><![CDATA[<p>Welche Sprache soll das sein?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1908649</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1908649</guid><dc:creator><![CDATA[Zeus]]></dc:creator><pubDate>Mon, 07 Jun 2010 21:56:39 GMT</pubDate></item><item><title><![CDATA[Reply to vector macht probleme on Mon, 07 Jun 2010 22:06:27 GMT]]></title><description><![CDATA[<p>danke werner, du hast meinen Abend gerettet :). Hab soviel hin und her geschoben, das ich die includes aus versehen nur in die cpp gepackt habe.</p>
<p>ja die sprache ist wohl die die auch der forumindex angibt...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1908654</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1908654</guid><dc:creator><![CDATA[greenghecco]]></dc:creator><pubDate>Mon, 07 Jun 2010 22:06:27 GMT</pubDate></item><item><title><![CDATA[Reply to vector macht probleme on Mon, 07 Jun 2010 22:08:30 GMT]]></title><description><![CDATA[<p>Die Typedefs sind überflüssig.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1908655</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1908655</guid><dc:creator><![CDATA[Janjan]]></dc:creator><pubDate>Mon, 07 Jun 2010 22:08:30 GMT</pubDate></item><item><title><![CDATA[Reply to vector macht probleme on Mon, 07 Jun 2010 22:11:31 GMT]]></title><description><![CDATA[<p>greenghecco schrieb:</p>
<blockquote>
<p>danke werner, du hast meinen Abend gerettet :). Hab soviel hin und her geschoben, das ich die includes aus versehen nur in die cpp gepackt habe.</p>
<p>ja die sprache ist wohl die die auch der forumindex angibt...</p>
</blockquote>
<p>uint32?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1908657</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1908657</guid><dc:creator><![CDATA[Zeus]]></dc:creator><pubDate>Mon, 07 Jun 2010 22:11:31 GMT</pubDate></item><item><title><![CDATA[Reply to vector macht probleme on Mon, 07 Jun 2010 22:11:53 GMT]]></title><description><![CDATA[<p>ich weiss. hatte die aber woanders häufig verwendet und dann die kurze typangabe....</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1908658</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1908658</guid><dc:creator><![CDATA[greenghecco]]></dc:creator><pubDate>Mon, 07 Jun 2010 22:11:53 GMT</pubDate></item><item><title><![CDATA[Reply to vector macht probleme on Mon, 07 Jun 2010 22:13:48 GMT]]></title><description><![CDATA[<p>greenghecco schrieb:</p>
<blockquote>
<p>ich weiss. hatte die aber woanders häufig verwendet und dann die kurze typangabe....</p>
</blockquote>
<p>uint32 ist kein C++ Datentype, deswegen hab ich gefragt, Compile-Extension?, CLI/C++? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61b.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_tongue"
      title=":P"
      alt="😛"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1908661</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1908661</guid><dc:creator><![CDATA[Zeus]]></dc:creator><pubDate>Mon, 07 Jun 2010 22:13:48 GMT</pubDate></item><item><title><![CDATA[Reply to vector macht probleme on Mon, 07 Jun 2010 22:17:06 GMT]]></title><description><![CDATA[<p>tcp upd winsocket <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61b.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_tongue"
      title=":P"
      alt="😛"
    /><br />
ist ja nur ne def für unsinged integer</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1908666</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1908666</guid><dc:creator><![CDATA[greenghecco]]></dc:creator><pubDate>Mon, 07 Jun 2010 22:17:06 GMT</pubDate></item></channel></rss>