<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>[A44] Getting current Directory with allegro</title>
		<link>http://www.allegro.cc/forums/view/613931</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Fri, 28 Feb 2014 00:55:11 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Does allegro offers a cross platform way to get the current directory?</p><p>I found getcwd, but apparently, it&#39;s not cross platform. I found this thread that tried to do so:</p><p><a href="http://stackoverflow.com/questions/2868680/what-is-a-cross-platform-way-to-get-the-current-directory">http://stackoverflow.com/questions/2868680/what-is-a-cross-platform-way-to-get-the-current-directory</a></p><p>Not sure if it really works.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (larienna)</author>
		<pubDate>Fri, 21 Feb 2014 18:31:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><span class="source-code"><a href="http://www.allegro.cc/manual/al_get_current_directory"><span class="a">al_get_current_directory</span></a></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Fri, 21 Feb 2014 21:12:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>He&#39;s asking about allegro 4.4
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Fri, 21 Feb 2014 21:27:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>getcwd is extremely cross-platform. I know only two mostly-POSIX compilers that don&#39;t implement it:<br />- The C compiler used on Atari MiNT<br />- Microsoft compilers...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Audric)</author>
		<pubDate>Fri, 21 Feb 2014 22:22:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Oh! so it&#39;s more compiler dependent than platform dependent?</p><p>So I could use getcwd if I  compile a windows app with gcc, but not msvc?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (larienna)</author>
		<pubDate>Fri, 21 Feb 2014 23:10:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yep. Write your code on Mingw-gcc, and almost everything will work on other systems.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Audric)</author>
		<pubDate>Sat, 22 Feb 2014 01:16:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It&#39;s more dependent on the runtime libc library. msvcrt is missing a lot of things, and some are there, but have an underscore prepended.</p><p>It&#39;s pretty much just to make porting programs harder.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Sat, 22 Feb 2014 01:23:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/613931/996694#target">Audric</a> said:</div><div class="quote"><p>Microsoft compilers</p></div></div><p>
getcwd does seem to be implemented and actually works at least in my visual studio 2012. The header for it is direct.h.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Aikei_c)</author>
		<pubDate>Sat, 22 Feb 2014 07:27:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>When you don&#39;t use VS getcwd doesn&#39;t need direct.h. Maybe it derives from winallegro. But I can&#39;t tell for sure.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (#00JMP00)</author>
		<pubDate>Fri, 28 Feb 2014 00:55:11 +0000</pubDate>
	</item>
</rss>
