<?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[Verzeichnis checken und erstellen]]></title><description><![CDATA[<p>Wie kann man in C++ unter Linux/Unix...</p>
<p>1. überprüfen ob ein gegebener Verzeichnisname als Verzeichnis schon existiert?<br />
2. ein Verzeichnier erstellen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/267200/verzeichnis-checken-und-erstellen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 02 Sep 2026 15:12:22 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/267200.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 20 May 2010 12:43:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Verzeichnis checken und erstellen on Thu, 20 May 2010 12:43:55 GMT]]></title><description><![CDATA[<p>Wie kann man in C++ unter Linux/Unix...</p>
<p>1. überprüfen ob ein gegebener Verzeichnisname als Verzeichnis schon existiert?<br />
2. ein Verzeichnier erstellen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1900131</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1900131</guid><dc:creator><![CDATA[HändyÄndy]]></dc:creator><pubDate>Thu, 20 May 2010 12:43:55 GMT</pubDate></item><item><title><![CDATA[Reply to Verzeichnis checken und erstellen on Thu, 20 May 2010 13:01:55 GMT]]></title><description><![CDATA[<p>Wenn du boost verwenden darfst:<br />
<a href="http://www.boost.org/doc/libs/1_43_0/libs/filesystem/doc/index.htm" rel="nofollow">Boost Filesystem</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1900135</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1900135</guid><dc:creator><![CDATA[boostit]]></dc:creator><pubDate>Thu, 20 May 2010 13:01:55 GMT</pubDate></item><item><title><![CDATA[Reply to Verzeichnis checken und erstellen on Thu, 20 May 2010 15:18:11 GMT]]></title><description><![CDATA[<p>Ich versuche gerade boost filesystem zu installieren. Allerdings bin ich mir nicht sicher ob ich das bjam richtig benutze. Ich bin in den Order (Boost\_home)/libs/filesystem/build gewechselt und habe dann dort bjam ausgeführt. bjam hat mir gesagt, dass die o-Dateien nun in "(Boost_home)/bin.v2/libs/filesystem/build/darwin-4.0.1/debug/&quot; liegen. Was mach ich jetzt mit diesen o-Dateien? Muss ich die jetzt irgendwo hinkopieren, damit ich die benutzen kann, oder wie macht man das?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1900230</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1900230</guid><dc:creator><![CDATA[HändyÄndy]]></dc:creator><pubDate>Thu, 20 May 2010 15:18:11 GMT</pubDate></item><item><title><![CDATA[Reply to Verzeichnis checken und erstellen on Thu, 20 May 2010 15:27:06 GMT]]></title><description><![CDATA[<p>Ohne boost gäbe es noch:<br />
<a href="http://linux.die.net/man/2/stat" rel="nofollow">http://linux.die.net/man/2/stat</a><br />
<a href="http://linux.die.net/man/2/mkdir" rel="nofollow">http://linux.die.net/man/2/mkdir</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1900238</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1900238</guid><dc:creator><![CDATA[Athar]]></dc:creator><pubDate>Thu, 20 May 2010 15:27:06 GMT</pubDate></item><item><title><![CDATA[Reply to Verzeichnis checken und erstellen on Thu, 20 May 2010 16:23:07 GMT]]></title><description><![CDATA[<p>Danke für den Hinweis. Folgender Code tut was ich möchte. name ist ein Objekt vom Typ std::string.</p>
<pre><code class="language-cpp">void StatisticsObject::checkAndCreateFolder() {
	struct stat status_buffer;
	if( stat( name.c_str(), &amp;status_buffer ) &lt; 0 ) {
		if( mkdir( name.c_str(), 0777 ) &lt; 0 ) {
			cout &lt;&lt; &quot;Fehler beim Erstellen des Ordners mit Name '&quot; &lt;&lt; name &lt;&lt; &quot;'.&quot; &lt;&lt; endl;
		} else {
			cout &lt;&lt; &quot;Ordner mit Name '&quot; &lt;&lt; name &lt;&lt; &quot;' wurde angelegt.&quot; &lt;&lt; endl;
		}
	}
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1900278</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1900278</guid><dc:creator><![CDATA[HändyÄndy]]></dc:creator><pubDate>Thu, 20 May 2010 16:23:07 GMT</pubDate></item><item><title><![CDATA[Reply to Verzeichnis checken und erstellen on Thu, 20 May 2010 16:23:52 GMT]]></title><description><![CDATA[<p>Was hast du für ein Linux? Kannst du boost nicht über die Paketverwaltung installieren?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1900280</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1900280</guid><dc:creator><![CDATA[brotbernd]]></dc:creator><pubDate>Thu, 20 May 2010 16:23:52 GMT</pubDate></item></channel></rss>