<?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"
	>
<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>
	<pubDate>Sun, 07 Sep 2008 19:46:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: tabrez</title>
		<link>http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/#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-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&#60;iostream&#62;
#include&#60;boost/filesystem&#62;

using namespace std;
namespace bfs=boost::filesystem;

int main()
{
    bfs::path p("/home/mnadig/ANj");
    bfs::create_directory(p);
    std::cout&#60;&#60;"Operation finished."&#60;&#60;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(&#8221;/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-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&#60;iostream&#62;
#include&#60;boost/filesystem&#62;

using namespace std;
namespace bfs=boost::filesystem;

int main()
{
    bfs::path p("/home/mnadig/ANj");
    bfs::create_directory(p);
    std::cout&#60;&#60;"Operation finished."&#60;&#60;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*)'
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&#38;)'</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(&#8221;/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-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="http://beans.seartipy.com/2006/05/10/boost-filesystem-library-writing-portable-c-programs-to-acess-the-filesystem/" rel="nofollow"&gt;Writing Portable C++ Programs to Acess The Filesystem&lt;/a&gt;
&lt;a href="http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/" rel="nofollow"&gt;C++ Boost Filesystem Library(Part II): Example Programs&lt;/a&gt;
&lt;a href="http://beans.seartipy.com/2006/05/31/c-boost-filesystem-librarypart-iii-example-programs/" rel="nofollow"&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="http://www.boost.org/doc/libs/1_35_0/libs/filesystem/doc/index.htm" rel="nofollow"&gt;Boost Filesystem Library&lt;/a&gt;

3. The following book covers many useful Boost libraries, including Boost Filesystem library:
&lt;a href="http://www.amazon.com/o/ASIN/0321133544/" rel="nofollow"&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-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'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-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('path_to_dir'), 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(&#8217;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-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'm getting errors when i try to use "remove(path_to_dir)", I'll also tried "path_to_dir.remove_leaf()".</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>
	<item>
		<title>By: tabrez</title>
		<link>http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/#comment-51070</link>
		<dc:creator>tabrez</dc:creator>
		<pubDate>Sat, 12 May 2007 11:52:21 +0000</pubDate>
		<guid isPermaLink="false">http://beans.seartipy.com/2006/05/28/c-boost-filesystem-librarypart-ii-example-programs/#comment-51070</guid>
		<description>Thanks for the correction, I have updated the post.</description>
		<content:encoded><![CDATA[<p>Thanks for the correction, I have updated the post.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
