<?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[Dateisuche nach Datum]]></title><description><![CDATA[<p>Hallo</p>
<p>Ich möchte alle Dateien eines Verzeichnisses nach Datum sortiert ermitteln. Also die ältesten zuerst, die neuesten am Schluß. Gibt es da eine Möglichkeit? Oder kommen sie schon in dieser Reihenfolge?</p>
<pre><code class="language-cpp">WIN32_FIND_DATA wfd;

	// Ergebnis Nummer 1 ist &quot;.&quot; 
	void* fHandle=FindFirstFile(strFilePath.c_str(),&amp;wfd); 

	// Ergebnis Nummer 2 ist &quot;..&quot;
	FindNextFile(fHandle,&amp;wfd); 

	while (FindNextFile(fHandle,&amp;wfd)) 
	{ 
		if (wfd.dwFileAttributes &amp; FILE_ATTRIBUTE_DIRECTORY) 
		{ 
		// Datei ist keine, sondern ein Verzeichnis
		} 
		 else 
		{
			 vDate.push_back(wfd.ftLastWriteTime);
			 vFile.push_back(wfd.cFileName);		
        }
	} 
	FindClose(fHandle);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/81163/dateisuche-nach-datum</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 10:01:01 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/81163.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 28 Jul 2004 14:51:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Dateisuche nach Datum on Wed, 28 Jul 2004 14:51:33 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Ich möchte alle Dateien eines Verzeichnisses nach Datum sortiert ermitteln. Also die ältesten zuerst, die neuesten am Schluß. Gibt es da eine Möglichkeit? Oder kommen sie schon in dieser Reihenfolge?</p>
<pre><code class="language-cpp">WIN32_FIND_DATA wfd;

	// Ergebnis Nummer 1 ist &quot;.&quot; 
	void* fHandle=FindFirstFile(strFilePath.c_str(),&amp;wfd); 

	// Ergebnis Nummer 2 ist &quot;..&quot;
	FindNextFile(fHandle,&amp;wfd); 

	while (FindNextFile(fHandle,&amp;wfd)) 
	{ 
		if (wfd.dwFileAttributes &amp; FILE_ATTRIBUTE_DIRECTORY) 
		{ 
		// Datei ist keine, sondern ein Verzeichnis
		} 
		 else 
		{
			 vDate.push_back(wfd.ftLastWriteTime);
			 vFile.push_back(wfd.cFileName);		
        }
	} 
	FindClose(fHandle);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/570407</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/570407</guid><dc:creator><![CDATA[SArkin]]></dc:creator><pubDate>Wed, 28 Jul 2004 14:51:33 GMT</pubDate></item><item><title><![CDATA[Reply to Dateisuche nach Datum on Wed, 28 Jul 2004 16:56:18 GMT]]></title><description><![CDATA[<p>Soweit ich weis kommen Sie nach Ihrem Eintrag in der FAT. Also nicht unbedingt nach Datum sortiert. Du wirst wohl nicht drum herum kommen die Eigenschaften auszulesen und Selber zu sortieren?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/570479</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/570479</guid><dc:creator><![CDATA[PanicMan]]></dc:creator><pubDate>Wed, 28 Jul 2004 16:56:18 GMT</pubDate></item></channel></rss>