<?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[Verzeichnisinhalt]]></title><description><![CDATA[<p>Hi!<br />
Ich weiß das Thema gab es schon öfter aber ich finde leider kein gutes Bsp dazu!</p>
<p>Ich möchte den Inhalt eines Verzeichnisses auflisten<br />
mit findfirst und findnext, weiß aber nicth genau wie das gehen soll...<br />
Kennt ihr da ne möglichkeit?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/146519/verzeichnisinhalt</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 13:20:02 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/146519.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 08 May 2006 14:46:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Verzeichnisinhalt on Mon, 08 May 2006 14:46:21 GMT]]></title><description><![CDATA[<p>Hi!<br />
Ich weiß das Thema gab es schon öfter aber ich finde leider kein gutes Bsp dazu!</p>
<p>Ich möchte den Inhalt eines Verzeichnisses auflisten<br />
mit findfirst und findnext, weiß aber nicth genau wie das gehen soll...<br />
Kennt ihr da ne möglichkeit?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1053469</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1053469</guid><dc:creator><![CDATA[Kuldren]]></dc:creator><pubDate>Mon, 08 May 2006 14:46:21 GMT</pubDate></item><item><title><![CDATA[Reply to Verzeichnisinhalt on Mon, 08 May 2006 14:53:23 GMT]]></title><description><![CDATA[<p>In der MSDN steht bei den Funktionen FindFirstFile und FindNextFile ein Beispiel:</p>
<p><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/listing_the_files_in_a_directory.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/listing_the_files_in_a_directory.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1053478</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1053478</guid><dc:creator><![CDATA[tvdog]]></dc:creator><pubDate>Mon, 08 May 2006 14:53:23 GMT</pubDate></item><item><title><![CDATA[Reply to Verzeichnisinhalt on Mon, 08 May 2006 14:58:07 GMT]]></title><description><![CDATA[<p>Danke! Ich werds testen!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1053483</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1053483</guid><dc:creator><![CDATA[Kuldren]]></dc:creator><pubDate>Mon, 08 May 2006 14:58:07 GMT</pubDate></item><item><title><![CDATA[Reply to Verzeichnisinhalt on Tue, 09 May 2006 06:28:45 GMT]]></title><description><![CDATA[<p>Sorry wegen Doppelpost...</p>
<p>Ich hab das jetzt getestet aber irgendwie funktionierts nicht...<br />
bei der Ausgabe bekomme ich nur diese zeichen ÌÌÌÌÌÌÌÌÌÌÌ (und zwar über mehrere Zeilen)</p>
<p>Code:</p>
<pre><code class="language-cpp">WIN32_FIND_DATA FindFileData;
   HANDLE hFind = INVALID_HANDLE_VALUE;

   hFind = FindFirstFile(&quot;C:/Projekt/version1/&quot;, &amp;FindFileData);

   int x=0;
   char buffer[10][128];

      while (FindNextFile(hFind, &amp;FindFileData)) 
      {
		  sprintf(buffer[x++],&quot;%s&quot;,FindFileData.cFileName);

      }

	for(int g=0;g&lt;5;g++){	
	  MessageBox(hWnd,buffer[g],&quot;out&quot;,MB_OK);
	}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1053854</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1053854</guid><dc:creator><![CDATA[Kuldren]]></dc:creator><pubDate>Tue, 09 May 2006 06:28:45 GMT</pubDate></item><item><title><![CDATA[Reply to Verzeichnisinhalt on Tue, 09 May 2006 06:35:16 GMT]]></title><description><![CDATA[<p>Ist es so schwierig das Beispiel sich anzuschauen?<br />
1. Wenn Du mehrere Dateien auflisten willst, musst Du irgendein Wildcard angeben (wie im Beispiel)<br />
2. Du vernachlässigst den ersten zurückgegebenen Eintrag</p>
<p>Also siehe:<br />
<a href="http://msdn.microsoft.com/library/en-us/fileio/fs/listing_the_files_in_a_directory.asp" rel="nofollow">http://msdn.microsoft.com/library/en-us/fileio/fs/listing_the_files_in_a_directory.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1053857</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1053857</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Tue, 09 May 2006 06:35:16 GMT</pubDate></item><item><title><![CDATA[Reply to Verzeichnisinhalt on Tue, 09 May 2006 06:50:08 GMT]]></title><description><![CDATA[<p>Habs gefunden es lag nur an der Pfadangabe...<br />
er braucht am Ende ein <em>.</em><br />
Ich dachte ein * bzw ein einfach / reicht...</p>
<p>Danke für die Hilfe!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1053864</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1053864</guid><dc:creator><![CDATA[Kuldren]]></dc:creator><pubDate>Tue, 09 May 2006 06:50:08 GMT</pubDate></item></channel></rss>