<?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[Funktionsname wird automatisch erweitert]]></title><description><![CDATA[<p>Hallo</p>
<p>ich hab in der stdafx.h die Funktion IntToString() deklariert und in der stdafx.cpp implementiert.</p>
<p>in der datei LogItem.cpp befindet sich folgender Code</p>
<pre><code class="language-cpp">erg.Append(TEXT( IntToString(this-&gt;tag) + &quot;.&quot; + IntToString(this-&gt;monat) + &quot;.&quot; + IntToString(this-&gt;jahr) + &quot; &quot;));
erg.Append(TEXT( IntToString(this-&gt;stunde) + &quot;:&quot; + IntToString(this-&gt;minute) + &quot;:&quot; + IntToString(this-&gt;sekunde)));
</code></pre>
<p>Ich krieg jetzt den Compiler fehler Bezeichner &quot;LIntToString&quot; nicht gefunden .</p>
<p>Was soll das? ich hab den Bezeichner doch garnicht verwendet und die richtige Funktion ist vorhanden.</p>
<p>edit: ups meinte stdafx.h und stdafx.cpp</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/177710/funktionsname-wird-automatisch-erweitert</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 12:05:39 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/177710.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Apr 2007 11:17:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Funktionsname wird automatisch erweitert on Tue, 03 Apr 2007 11:31:03 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>ich hab in der stdafx.h die Funktion IntToString() deklariert und in der stdafx.cpp implementiert.</p>
<p>in der datei LogItem.cpp befindet sich folgender Code</p>
<pre><code class="language-cpp">erg.Append(TEXT( IntToString(this-&gt;tag) + &quot;.&quot; + IntToString(this-&gt;monat) + &quot;.&quot; + IntToString(this-&gt;jahr) + &quot; &quot;));
erg.Append(TEXT( IntToString(this-&gt;stunde) + &quot;:&quot; + IntToString(this-&gt;minute) + &quot;:&quot; + IntToString(this-&gt;sekunde)));
</code></pre>
<p>Ich krieg jetzt den Compiler fehler Bezeichner &quot;LIntToString&quot; nicht gefunden .</p>
<p>Was soll das? ich hab den Bezeichner doch garnicht verwendet und die richtige Funktion ist vorhanden.</p>
<p>edit: ups meinte stdafx.h und stdafx.cpp</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1258467</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1258467</guid><dc:creator><![CDATA[walljumper]]></dc:creator><pubDate>Tue, 03 Apr 2007 11:31:03 GMT</pubDate></item><item><title><![CDATA[Reply to Funktionsname wird automatisch erweitert on Tue, 03 Apr 2007 11:22:30 GMT]]></title><description><![CDATA[<p>walljumper schrieb:</p>
<blockquote>
<p>ich hab in der afx.h die Funktion IntToString() deklariert und in der afx.cpp implementiert.</p>
</blockquote>
<p>Du hast in den &quot;Systemdateien&quot; rumgeändert? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f62e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_open_mouth"
      title=":open_mouth:"
      alt="😮"
    /><br />
Mach das mal ganz schnell wieder rückgängig, sowas funktioniert nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1258477</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1258477</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Tue, 03 Apr 2007 11:22:30 GMT</pubDate></item><item><title><![CDATA[Reply to Funktionsname wird automatisch erweitert on Tue, 03 Apr 2007 11:38:54 GMT]]></title><description><![CDATA[<p>oO meinte natürlich stdafx.h und stdafx.cpp.<br />
habs geändert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1258497</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1258497</guid><dc:creator><![CDATA[walljumper]]></dc:creator><pubDate>Tue, 03 Apr 2007 11:38:54 GMT</pubDate></item><item><title><![CDATA[Reply to Funktionsname wird automatisch erweitert on Tue, 03 Apr 2007 11:59:29 GMT]]></title><description><![CDATA[<p>Das TEXT-Makro kannst du auch so nicht einsetzen - das funktioniert nur mit String-Literalen. Das heißt, du müsstest jedes der String-Literale &quot;.&quot; und &quot;:&quot; in ein eigenes TEXT() einschließen.</p>
<p>(oder du schaust dir mal CString::Format() an)</p>
<p>Zur Erklärung:<br />
TEXT ist definiert als</p>
<pre><code class="language-cpp">#ifdef UNICODE
  #define TEXT(x) L##x
#else
  #define TEXT(x) x
#endif
</code></pre>
<p>Angewendet auf dein Beispiel ergibt das:</p>
<pre><code class="language-cpp">TEXT( IntToString(this-&gt;tag) + &quot;.&quot; + IntToString(this-&gt;monat) + &quot;.&quot; + IntToString(this-&gt;jahr) + &quot; &quot;)
// -&gt;
LIntToString(this-&gt;tag) + &quot;.&quot; + IntToString(this-&gt;monat) + &quot;.&quot; + IntToString(this-&gt;jahr) + &quot; &quot;
</code></pre>
<p>Und da hast du die unbekannte Funktion, über die dein Compiler gestolpert ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1258537</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1258537</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Tue, 03 Apr 2007 11:59:29 GMT</pubDate></item><item><title><![CDATA[Reply to Funktionsname wird automatisch erweitert on Tue, 03 Apr 2007 12:23:53 GMT]]></title><description><![CDATA[<p>ok danke</p>
<p>hmm ich komm mir mit der mfc wieder wie ein totaler anfänger vor <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1258564</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1258564</guid><dc:creator><![CDATA[walljumper]]></dc:creator><pubDate>Tue, 03 Apr 2007 12:23:53 GMT</pubDate></item></channel></rss>