<?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[ordner auf mp3s, wavs und unterordner durchsuchen]]></title><description><![CDATA[<p>hi, ich code ein counter strike source serverplugin und sollte dafür eine funktion haben die mir einen ordner auf mp3 und wav files und unterordner mit den files überprüft weil sonst muss man alle files einzeln eintragen.<br />
die funktion muss für windows und linux funktionieren!<br />
danke im voraus</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/135797/ordner-auf-mp3s-wavs-und-unterordner-durchsuchen</link><generator>RSS for Node</generator><lastBuildDate>Sat, 29 Aug 2026 21:51:29 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/135797.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 05 Feb 2006 08:53:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ordner auf mp3s, wavs und unterordner durchsuchen on Sun, 05 Feb 2006 08:53:11 GMT]]></title><description><![CDATA[<p>hi, ich code ein counter strike source serverplugin und sollte dafür eine funktion haben die mir einen ordner auf mp3 und wav files und unterordner mit den files überprüft weil sonst muss man alle files einzeln eintragen.<br />
die funktion muss für windows und linux funktionieren!<br />
danke im voraus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/986219</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986219</guid><dc:creator><![CDATA[smash 0]]></dc:creator><pubDate>Sun, 05 Feb 2006 08:53:11 GMT</pubDate></item><item><title><![CDATA[Reply to ordner auf mp3s, wavs und unterordner durchsuchen on Sun, 05 Feb 2006 09:10:45 GMT]]></title><description><![CDATA[<p>Hilft das vielleicht?</p>
<p>-&gt; <a href="http://www.pronix.de/pronix-812.html" rel="nofollow">http://www.pronix.de/pronix-812.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/986225</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986225</guid><dc:creator><![CDATA[noobie]]></dc:creator><pubDate>Sun, 05 Feb 2006 09:10:45 GMT</pubDate></item><item><title><![CDATA[Reply to ordner auf mp3s, wavs und unterordner durchsuchen on Sun, 05 Feb 2006 09:38:15 GMT]]></title><description><![CDATA[<p>nö die dir.h gibts irgendwie seit dos nimmen.<br />
und die dirent.h auch net oder die is für linux weissich nimmen.<br />
(sind auf jeden fall beide net dabei beim vs .net)<br />
und mit direct.h habich die lösung für mein prob net gesehen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>vielleicht gibts die nötigen funktionen im hl2 code ja schon hab se aber net gefunden!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/986237</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986237</guid><dc:creator><![CDATA[smash 0]]></dc:creator><pubDate>Sun, 05 Feb 2006 09:38:15 GMT</pubDate></item><item><title><![CDATA[Reply to ordner auf mp3s, wavs und unterordner durchsuchen on Sun, 05 Feb 2006 11:56:46 GMT]]></title><description><![CDATA[<p>Guck mal ob es bei dir eine io.h gibt. Die dir.h sieht nähmlich bein MinGW so aus:</p>
<pre><code class="language-cpp">/* 
 * dir.h
 *
 * This file OBSOLESCENT and only provided for backward compatibility.
 * Please use io.h instead.
 *
 * This file is part of the Mingw32 package.
 *
 * Contributors:
 *  Created by Colin Peters &lt;colin@bird.fu.is.saga-u.ac.jp&gt;
 *             Mumit Khan &lt;khan@xraylith.wisc.edu&gt;
 *
 *  THIS SOFTWARE IS NOT COPYRIGHTED
 *
 *  This source code is offered for use in the public domain. You may
 *  use, modify or distribute it freely.
 *
 *  This code is distributed in the hope that it will be useful but
 *  WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
 *  DISCLAIMED. This includes but is not limited to warranties of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *
 */

#include &lt;io.h&gt;
</code></pre>
<p>mfg.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/986339</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986339</guid><dc:creator><![CDATA[joomoo]]></dc:creator><pubDate>Sun, 05 Feb 2006 11:56:46 GMT</pubDate></item><item><title><![CDATA[Reply to ordner auf mp3s, wavs und unterordner durchsuchen on Sun, 05 Feb 2006 14:00:00 GMT]]></title><description><![CDATA[<p>Hallo,<br />
schau dir mal boost::filesystem an.<br />
Oder auch: <a href="http://fara.cs.uni-potsdam.de/~kaufmann/dirstream/index.html" rel="nofollow">http://fara.cs.uni-potsdam.de/~kaufmann/dirstream/index.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/986466</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986466</guid><dc:creator><![CDATA[HumeSikkins]]></dc:creator><pubDate>Sun, 05 Feb 2006 14:00:00 GMT</pubDate></item><item><title><![CDATA[Reply to ordner auf mp3s, wavs und unterordner durchsuchen on Thu, 16 Feb 2006 14:52:46 GMT]]></title><description><![CDATA[<p>vielen dank ich habs mit dirstream versucht und funktioniert einwandfrei, unter windows sowie auch linux.<br />
aber ein problem habich, wie kannich überprüfen ob das verzeichnis existiert?<br />
wenn ich es auf einem verzeichnis versuche dasses net gibt crashts!<br />
thx</p>
]]></description><link>https://www.c-plusplus.net/forum/post/995846</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/995846</guid><dc:creator><![CDATA[smash 0]]></dc:creator><pubDate>Thu, 16 Feb 2006 14:52:46 GMT</pubDate></item><item><title><![CDATA[Reply to ordner auf mp3s, wavs und unterordner durchsuchen on Thu, 16 Feb 2006 15:40:57 GMT]]></title><description><![CDATA[<p>smash schrieb:</p>
<blockquote>
<p>aber ein problem habich, wie kannich überprüfen ob das verzeichnis existiert?<br />
wenn ich es auf einem verzeichnis versuche dasses net gibt crashts!<br />
thx</p>
</blockquote>
<p>dirstr::directory_exists crasht bei dir? Unter welchem BS und mit welchem String?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/995925</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/995925</guid><dc:creator><![CDATA[HumeSikkins]]></dc:creator><pubDate>Thu, 16 Feb 2006 15:40:57 GMT</pubDate></item><item><title><![CDATA[Reply to ordner auf mp3s, wavs und unterordner durchsuchen on Thu, 16 Feb 2006 18:34:11 GMT]]></title><description><![CDATA[<p>nein eigentlich nicht aber das wenn der pfad nicht existiert:<br />
dirstream str(path,pattern_f(&quot;*.mp3&quot;),recursive_yes);</p>
<p>wollte irgendwie mit dem überprüfen so wie bei fopen() da mussich ja auch net prüfen obs das file gibt bevor ich fopen mach.</p>
<p>scheint zu gehen thx^^<br />
war irgendwie wohl einfach schon bissel durch so viel gecodet in letzter zeit und so viel aufgaben und prüfungen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/996104</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/996104</guid><dc:creator><![CDATA[smash 0]]></dc:creator><pubDate>Thu, 16 Feb 2006 18:34:11 GMT</pubDate></item><item><title><![CDATA[Reply to ordner auf mp3s, wavs und unterordner durchsuchen on Sun, 19 Feb 2006 22:30:48 GMT]]></title><description><![CDATA[<p>öhm ja ich nomma ich befasse mich grade noch mit linux compiling.<br />
brauchts die dirstream_w32_posix.cpp unter linux überhaupt?<br />
weil dann bekommich folgende fehler:</p>
<pre><code>dirstream_w32_posix.cpp: In function `std::string dirstr::full_path(const
   std::string&amp;)':
dirstream_w32_posix.cpp:174: error: `PATH_MAX' undeclared (first use this
   function)
dirstream_w32_posix.cpp:174: error: (Each undeclared identifier is reported
   only once for each function it appears in.)
dirstream_w32_posix.cpp:175: error: `buffer' undeclared (first use this
   function)
make: *** [build/obj/plugin/dirstream_w32_posix.o] Fehler 1
</code></pre>
<p>und wenn ich sie weglasse bekommich das:</p>
<pre><code>/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: ./build/xSound_i486.so: undefined versioned symbol name std::time_put_w@@GLIBCPP_3.2
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
</code></pre>
<p>danke im voraus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/998206</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/998206</guid><dc:creator><![CDATA[smash 0]]></dc:creator><pubDate>Sun, 19 Feb 2006 22:30:48 GMT</pubDate></item><item><title><![CDATA[Reply to ordner auf mp3s, wavs und unterordner durchsuchen on Mon, 20 Feb 2006 08:04:19 GMT]]></title><description><![CDATA[<p>smash schrieb:</p>
<blockquote>
<p>öhm ja ich nomma ich befasse mich grade noch mit linux compiling.<br />
brauchts die dirstream_w32_posix.cpp unter linux überhaupt?</p>
</blockquote>
<p>Jup.</p>
<blockquote>
<p>weil dann bekommich folgende fehler:</p>
<pre><code>dirstream_w32_posix.cpp: In function `std::string dirstr::full_path(const
   std::string&amp;)':
dirstream_w32_posix.cpp:174: error: `PATH_MAX' undeclared (first use this
   function)
[...]
</code></pre>
</blockquote>
<p>Das liegt daran, dass PATH_MAX nicht wirklich POSIX-Standard ist. Es wird nur auf den meisten POSIX-System definiert. Hilft es, wenn du &lt;limits.h&gt; inkludierst (nach dem #include &lt;stdlib.h&gt; in Zeile 152)?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/998261</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/998261</guid><dc:creator><![CDATA[HumeSikkins]]></dc:creator><pubDate>Mon, 20 Feb 2006 08:04:19 GMT</pubDate></item><item><title><![CDATA[Reply to ordner auf mp3s, wavs und unterordner durchsuchen on Mon, 20 Feb 2006 17:34:30 GMT]]></title><description><![CDATA[<p>die wird eh schon irgendwo inkludiert hat mal reklamiert dasses die /usr/include/linux/limits.h net findet und dann habich die von /include nach /include/linux kopiert<br />
die errno.h habich auch noch da kopieren müssen weiler da auch mal reklamiert hat. und jetzt? kann es sein dass mein compiler oder meine libs zu alt sind? weil ich konnte nach vielen stunden endlich mal mein serverplugin kompilieren, leider nur das dasich net brauche im mom, die zwei wo ich dirstream drinhabe habich eben das prob. gcc libs habich 3.4.4 würdich meinen (../gcc-lib/i486-slackware-linux/3.3.4) und die std libs oder so habich ka und compiler ka.</p>
<p>hatte es zuerst aufm suse 10 und da hat er bei nem file vom hl2 sdk (maths.h) reklamiert was un undefined register %irgendwas und so und jetzt habich hier son pocket linux unter windows und da konntich wenigstens das ohne dirstream kompilieren und hat auch funktioniert.</p>
<p>ja wäre froh wennich das möglichst schnell kompilieren könnte muss das schon lange haben dann wärs schon lang aufm server!</p>
<p>thx</p>
<p>edit: was wäre wennich manuell #define ... machen würde?</p>
<p>edit2: weiss net obichs letztes mal übersehen hab aber jetzt kommt das:</p>
<pre><code>dirstream_w32_posix.cpp: In function `std::string dirstr::full_path(const
   std::string&amp;)':
dirstream_w32_posix.cpp:174: error: `PATH_MAX' undeclared (first use this
   function)
dirstream_w32_posix.cpp:174: error: (Each undeclared identifier is reported
   only once for each function it appears in.)
dirstream_w32_posix.cpp:175: error: `buffer' undeclared (first use this
   function)
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/998791</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/998791</guid><dc:creator><![CDATA[smash 0]]></dc:creator><pubDate>Mon, 20 Feb 2006 17:34:30 GMT</pubDate></item><item><title><![CDATA[Reply to ordner auf mp3s, wavs und unterordner durchsuchen on Mon, 20 Feb 2006 21:45:14 GMT]]></title><description><![CDATA[<p>so gibt neuigkeiten... habe gcc und g++ geupdatet auf 3.4.5 und mit installpkg oder wie das heisst installiert. jezt kannichs kompilieren. hab auch noch die limits.h vom kumpel bekommen und das max path hater jetzt auch.<br />
und auch das makefile das er verwendet hat für das plugin.<br />
nur:<br />
seins is 50 kb grösser als meins ungefähr (hat aber genau die gleichen quellcodes und das makefile habich ja von ihm) und seins geht und meins crasht den server.<br />
son witz!</p>
<p>edit: habe 3 plugins hier, 2 ohne dirstream die kannich selbst unter linux kompilieren und gehen wunderbar, aber das mit dirstream crasht den server sofort, wenn ichs selber kompiliere, das dass jemand anders kompiliert hat geht wunderbar!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/998954</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/998954</guid><dc:creator><![CDATA[smash 0]]></dc:creator><pubDate>Mon, 20 Feb 2006 21:45:14 GMT</pubDate></item></channel></rss>