<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — "exit" not legit keyword?]]></title>
		<link>http://forums.approximatrix.com/viewtopic.php?id=509</link>
		<atom:link href="http://forums.approximatrix.com/extern.php?action=feed&amp;tid=509&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in "exit" not legit keyword?.]]></description>
		<lastBuildDate>Fri, 27 Nov 2015 13:44:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: "exit" not legit keyword?]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2287#p2287</link>
			<description><![CDATA[<p>I believe <em>exit</em> is only a C keyword.&nbsp; You probably just need to include <em>cstdlib</em> to bring <em>exit</em> into scope.&nbsp; I would suggest looking at the example here:</p><p><a href="http://en.cppreference.com/w/cpp/utility/program/exit">http://en.cppreference.com/w/cpp/utility/program/exit</a></p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Fri, 27 Nov 2015 13:44:58 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2287#p2287</guid>
		</item>
		<item>
			<title><![CDATA["exit" not legit keyword?]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2286#p2286</link>
			<description><![CDATA[<p>Get this error, In function &#039;void NR::nrerror(std::__cxx11::string)&#039;:, nrutil_nr.h:56:9: error: &#039;exit&#039; was not declared in this scope</p><p>I am trying to compile the annealing example in legacy cpp code.&nbsp; </p><p>The code fragment giving me grief appears to be:<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; cerr &lt;&lt; &quot;Numerical Recipes run-time error...&quot; &lt;&lt; endl;<br />&nbsp; &nbsp; &nbsp; &nbsp; cerr &lt;&lt; error_text &lt;&lt; endl;<br />&nbsp; &nbsp; &nbsp; &nbsp; cerr &lt;&lt; &quot;...now exiting to system...&quot; &lt;&lt; endl;<br />&nbsp; &nbsp; &nbsp; &nbsp; exit(1);<br />&nbsp; &nbsp; }<br />Compiler does not like the exit keyword.</p><p>Thanks for any help<br />kevington</p>]]></description>
			<author><![CDATA[null@example.com (kevington)]]></author>
			<pubDate>Fri, 27 Nov 2015 08:23:19 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2286#p2286</guid>
		</item>
	</channel>
</rss>
