<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: C++ Boost Filesystem Library(Part II): Example Programs</title>
	<atom:link href="http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/feed/" rel="self" type="application/rss+xml" />
	<link>http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/</link>
	<description>"The time has come...to talk of many [technologies]." --Lewis Carroll('The Walrus and the Carpenter')</description>
	<lastBuildDate>Thu, 11 Mar 2010 08:25:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: W. Aria</title>
		<link>http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/comment-page-1/#comment-137630</link>
		<dc:creator>W. Aria</dc:creator>
		<pubDate>Thu, 11 Jun 2009 17:40:30 +0000</pubDate>
		<guid isPermaLink="false">http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/#comment-137630</guid>
		<description>Hey, I was wondering. 
What would happen if a program tried to acess a folder  from an administrator account while being in a non-administrator account?

Would filesystem simply think the dir doent exist? Or would it return a more specific error? Or would it detect the folder as empty?</description>
		<content:encoded><![CDATA[<p>Hey, I was wondering.<br />
What would happen if a program tried to acess a folder  from an administrator account while being in a non-administrator account?</p>
<p>Would filesystem simply think the dir doent exist? Or would it return a more specific error? Or would it detect the folder as empty?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tabrez</title>
		<link>http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/comment-page-1/#comment-137085</link>
		<dc:creator>tabrez</dc:creator>
		<pubDate>Sun, 11 May 2008 08:34:46 +0000</pubDate>
		<guid isPermaLink="false">http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/#comment-137085</guid>
		<description>You need to install the Boost library properly; in this case, you need to build the Boost Filesystem library(or install the lib package for your OS/distribution). You then need to link to that library when building your application. See the Boost installation posts on the following page for more help:

http://beans.seartipy.com/category/c_boost/</description>
		<content:encoded><![CDATA[<p>You need to install the Boost library properly; in this case, you need to build the Boost Filesystem library(or install the lib package for your OS/distribution). You then need to link to that library when building your application. See the Boost installation posts on the following page for more help:</p>
<p><a href="http://beans.seartipy.com/category/c_boost/" rel="nofollow">http://beans.seartipy.com/category/c_boost/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anjali</title>
		<link>http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/comment-page-1/#comment-137081</link>
		<dc:creator>Anjali</dc:creator>
		<pubDate>Fri, 09 May 2008 11:46:05 +0000</pubDate>
		<guid isPermaLink="false">http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/#comment-137081</guid>
		<description>#include&lt;iostream&gt;
#include&lt;boost/filesystem&gt;

using namespace std;
namespace bfs=boost::filesystem;

int main()
{
    bfs::path p(&quot;/home/mnadig/ANj&quot;);
    bfs::create_directory(p);
    std::cout&lt;&lt;&quot;Operation finished.&quot;&lt;&lt;std::endl;
    return 0;
}

Sorry the header files were not displayed when i pasted it. Here it is again</description>
		<content:encoded><![CDATA[<p>#include&lt;iostream&gt;<br />
#include&lt;boost/filesystem&gt;</p>
<p>using namespace std;<br />
namespace bfs=boost::filesystem;</p>
<p>int main()<br />
{<br />
    bfs::path p(&#8220;/home/mnadig/ANj&#8221;);<br />
    bfs::create_directory(p);<br />
    std::cout&lt;&lt;&#8221;Operation finished.&#8221;&lt;&lt;std::endl;<br />
    return 0;<br />
}</p>
<p>Sorry the header files were not displayed when i pasted it. Here it is again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anjali</title>
		<link>http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/comment-page-1/#comment-137079</link>
		<dc:creator>Anjali</dc:creator>
		<pubDate>Fri, 09 May 2008 11:44:16 +0000</pubDate>
		<guid isPermaLink="false">http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/#comment-137079</guid>
		<description>Hi,
   i am new to the Boost library. I was trying to check if a directory exists in a path and if it doesnt exits, the directory needs to be created. Tried the program as given above, but I am encountering compilation problems. I need help

My code:

#include&lt;iostream&gt;
#include&lt;boost/filesystem&gt;

using namespace std;
namespace bfs=boost::filesystem;

int main()
{
    bfs::path p(&quot;/home/mnadig/ANj&quot;);
    bfs::create_directory(p);
    std::cout&lt;&lt;&quot;Operation finished.&quot;&lt;&lt;std::endl;
    return 0;
}



Error:
/vobs/src9005/SS_TestSNMP/src/SNMP_Delivery/myExample/dir/dir.cpp:16: undefined reference to `boost::filesystem::path::path(char const*)&#039;
dir.o(.text+0x173):/vobs/src9005/SS_TestSNMP/src/SNMP_Delivery/myExample/dir/dir.cpp:17: undefined reference to `boost::filesystem::create_directory(boost::filesystem::path const&amp;)&#039;</description>
		<content:encoded><![CDATA[<p>Hi,<br />
   i am new to the Boost library. I was trying to check if a directory exists in a path and if it doesnt exits, the directory needs to be created. Tried the program as given above, but I am encountering compilation problems. I need help</p>
<p>My code:</p>
<p>#include&lt;iostream&gt;<br />
#include&lt;boost/filesystem&gt;</p>
<p>using namespace std;<br />
namespace bfs=boost::filesystem;</p>
<p>int main()<br />
{<br />
    bfs::path p(&#8220;/home/mnadig/ANj&#8221;);<br />
    bfs::create_directory(p);<br />
    std::cout&lt;&lt;&#8221;Operation finished.&#8221;&lt;&lt;std::endl;<br />
    return 0;<br />
}</p>
<p>Error:<br />
/vobs/src9005/SS_TestSNMP/src/SNMP_Delivery/myExample/dir/dir.cpp:16: undefined reference to `boost::filesystem::path::path(char const*)&#8217;<br />
dir.o(.text+0&#215;173):/vobs/src9005/SS_TestSNMP/src/SNMP_Delivery/myExample/dir/dir.cpp:17: undefined reference to `boost::filesystem::create_directory(boost::filesystem::path const&amp;)&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tabrez</title>
		<link>http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/comment-page-1/#comment-137072</link>
		<dc:creator>tabrez</dc:creator>
		<pubDate>Fri, 25 Apr 2008 07:56:59 +0000</pubDate>
		<guid isPermaLink="false">http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/#comment-137072</guid>
		<description>Mohan Gupta,
1. I have made three blog posts about Boost Filesystem library:
&lt;a href=&quot;http://beans.seartipy.com/2006/05/10/boost-filesystem-library-writing-portable-c-programs-to-acess-the-filesystem/&quot; rel=&quot;nofollow&quot;&gt;Writing Portable C++ Programs to Acess The Filesystem&lt;/a&gt;
&lt;a href=&quot;http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/&quot; rel=&quot;nofollow&quot;&gt;C++ Boost Filesystem Library(Part II): Example Programs&lt;/a&gt;
&lt;a href=&quot;http://beans.seartipy.com/2006/05/31/c-boost-filesystem-librarypart-iii-example-programs/&quot; rel=&quot;nofollow&quot;&gt;C++ Boost Filesystem Library(Part III): Example Programs&lt;/a&gt;

2. Boost Filesystem official documentation is informative and easy to follow:
&lt;a href=&quot;http://www.boost.org/doc/libs/1_35_0/libs/filesystem/doc/index.htm&quot; rel=&quot;nofollow&quot;&gt;Boost Filesystem Library&lt;/a&gt;

3. The following book covers many useful Boost libraries, including Boost Filesystem library:
&lt;a href=&quot;http://www.amazon.com/o/ASIN/0321133544/&quot; rel=&quot;nofollow&quot;&gt;Beyond the C++ Standard Library: An Introduction to Boost&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Mohan Gupta,<br />
1. I have made three blog posts about Boost Filesystem library:<br />
<a href="http://beans.seartipy.com/2006/05/10/boost-filesystem-library-writing-portable-c-programs-to-acess-the-filesystem/" rel="nofollow">Writing Portable C++ Programs to Acess The Filesystem</a><br />
<a href="http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/" rel="nofollow">C++ Boost Filesystem Library(Part II): Example Programs</a><br />
<a href="http://beans.seartipy.com/2006/05/31/c-boost-filesystem-librarypart-iii-example-programs/" rel="nofollow">C++ Boost Filesystem Library(Part III): Example Programs</a></p>
<p>2. Boost Filesystem official documentation is informative and easy to follow:<br />
<a href="http://www.boost.org/doc/libs/1_35_0/libs/filesystem/doc/index.htm" rel="nofollow">Boost Filesystem Library</a></p>
<p>3. The following book covers many useful Boost libraries, including Boost Filesystem library:<br />
<a href="http://www.amazon.com/o/ASIN/0321133544/" rel="nofollow">Beyond the C++ Standard Library: An Introduction to Boost</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mohan gupta</title>
		<link>http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/comment-page-1/#comment-137069</link>
		<dc:creator>mohan gupta</dc:creator>
		<pubDate>Wed, 23 Apr 2008 11:22:29 +0000</pubDate>
		<guid isPermaLink="false">http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/#comment-137069</guid>
		<description>hello every one ,
can any one please help me where to get tutorials of boost filesystem ???
i wan&#039;t able to get it naywhere
mohan gupta</description>
		<content:encoded><![CDATA[<p>hello every one ,<br />
can any one please help me where to get tutorials of boost filesystem ???<br />
i wan&#8217;t able to get it naywhere<br />
mohan gupta</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brad</title>
		<link>http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/comment-page-1/#comment-78925</link>
		<dc:creator>brad</dc:creator>
		<pubDate>Tue, 03 Jul 2007 21:12:09 +0000</pubDate>
		<guid isPermaLink="false">http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/#comment-78925</guid>
		<description>I got it to work if you use remove_all(&#039;path_to_dir&#039;), is that the only/best way to go about it?</description>
		<content:encoded><![CDATA[<p>I got it to work if you use remove_all(&#8216;path_to_dir&#8217;), is that the only/best way to go about it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brad</title>
		<link>http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/comment-page-1/#comment-78592</link>
		<dc:creator>brad</dc:creator>
		<pubDate>Tue, 03 Jul 2007 07:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/#comment-78592</guid>
		<description>How can you delete a directory, I&#039;m getting errors when i try to use &quot;remove(path_to_dir)&quot;, I&#039;ll also tried &quot;path_to_dir.remove_leaf()&quot;.</description>
		<content:encoded><![CDATA[<p>How can you delete a directory, I&#8217;m getting errors when i try to use &#8220;remove(path_to_dir)&#8221;, I&#8217;ll also tried &#8220;path_to_dir.remove_leaf()&#8221;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
