<?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[error: cannot convert &#x27;int&#x27; to &#x27;*..&#x27; in assignment]]></title><description><![CDATA[<p>Hallo!</p>
<p>ich hab ein problem bei meinem programm. ich krieg immer wieder diese fehlermeldung error: cannot convert 'int' to '*..' in assignment.</p>
<pre><code class="language-cpp">fields_[0] = new Sepname_::GenericField(&quot;&lt;-&quot;, &quot;GO&quot;);
</code></pre>
<p>die zeile in dem der fehler gemeldet wird.<br />
ich habe ein array dem ich ein neues &quot;feld&quot; mit 2 strings zuweise.</p>
<p>was stimmt denn da nicht???</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/212536/error-cannot-convert-int-to-in-assignment</link><generator>RSS for Node</generator><lastBuildDate>Wed, 14 Oct 2026 21:21:36 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/212536.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 May 2008 13:48:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to error: cannot convert &#x27;int&#x27; to &#x27;*..&#x27; in assignment on Wed, 07 May 2008 13:48:43 GMT]]></title><description><![CDATA[<p>Hallo!</p>
<p>ich hab ein problem bei meinem programm. ich krieg immer wieder diese fehlermeldung error: cannot convert 'int' to '*..' in assignment.</p>
<pre><code class="language-cpp">fields_[0] = new Sepname_::GenericField(&quot;&lt;-&quot;, &quot;GO&quot;);
</code></pre>
<p>die zeile in dem der fehler gemeldet wird.<br />
ich habe ein array dem ich ein neues &quot;feld&quot; mit 2 strings zuweise.</p>
<p>was stimmt denn da nicht???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1504900</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1504900</guid><dc:creator><![CDATA[Marla666]]></dc:creator><pubDate>Wed, 07 May 2008 13:48:43 GMT</pubDate></item><item><title><![CDATA[Reply to error: cannot convert &#x27;int&#x27; to &#x27;*..&#x27; in assignment on Wed, 07 May 2008 13:51:34 GMT]]></title><description><![CDATA[<p>HI,</p>
<p>was ist den field_ ?</p>
<p>Gruß,</p>
<p>Simon2.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1504902</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1504902</guid><dc:creator><![CDATA[Simon2]]></dc:creator><pubDate>Wed, 07 May 2008 13:51:34 GMT</pubDate></item><item><title><![CDATA[Reply to error: cannot convert &#x27;int&#x27; to &#x27;*..&#x27; in assignment on Wed, 07 May 2008 13:55:05 GMT]]></title><description><![CDATA[<p>fields_ ist ein array. ich hab mehrere davon, und in jedem tritt derselbe fehler auf, weil ich ja alle gleich geschrieben hab...</p>
<pre><code class="language-cpp">fields_[2] = new Sepname_::GenericField(&quot;2&quot;, &quot;Community Chest&quot;);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1504904</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1504904</guid><dc:creator><![CDATA[Marla666]]></dc:creator><pubDate>Wed, 07 May 2008 13:55:05 GMT</pubDate></item><item><title><![CDATA[Reply to error: cannot convert &#x27;int&#x27; to &#x27;*..&#x27; in assignment on Wed, 07 May 2008 14:23:56 GMT]]></title><description><![CDATA[<p>Viel zu wenig Informationen. Ohne die Deklaration von field_[...] usw. kann man da nur raten.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1504924</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1504924</guid><dc:creator><![CDATA[Tachyon]]></dc:creator><pubDate>Wed, 07 May 2008 14:23:56 GMT</pubDate></item><item><title><![CDATA[Reply to error: cannot convert &#x27;int&#x27; to &#x27;*..&#x27; in assignment on Wed, 07 May 2008 14:32:46 GMT]]></title><description><![CDATA[<p>&quot;ist ein Array&quot; ist eine genauso exakte Aussage wie &quot;ist ein Haufen&quot;..... da fehlt das Entscheidende (&quot;Ein Haufen von WAS ?&quot;).<br />
Kann es sein, dass Du gar keinen Typen angegeben hast für field_ ?</p>
<p>Evtl. kommt Dir da die &quot;automatische int-isierung&quot; in die Quere, die beim Fehlen eines Typs &quot;int&quot; annimmt ... und dem kannst Du nunmal keinen Zeiger zuweisen.</p>
<p>Wie gesagt: Her mit der Deklaration von field_, sonst wird das nix (und solange Du selbst keine Deklaration hast, auch nicht).</p>
<p>Gruß,</p>
<p>Simon2.</p>
<p>P.S.: Ich kann auch anders formulieren: Welchen Typ hat field_[2] ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1504933</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1504933</guid><dc:creator><![CDATA[Simon2]]></dc:creator><pubDate>Wed, 07 May 2008 14:32:46 GMT</pubDate></item></channel></rss>