|
 |
In article <3FBC6A11.C6E5111B@gmx.de>,
> It's obvious that I have to sort the distances of the capitals once
> again in the calculation of each frame, so I looked up the
> Quicksort algorithm in my C tutorial.
You might want to have a look at arrays.inc as well...
> But there, Quicksort is
> implemented as a recursive function (which returns no value),
> now my question: is #macro equivalent to "non-returning" functions? Or
> do I have to do it all as a series of nested loops?
I'm not sure what you mean by macros being equivalent to non-returning
functions. There is no requirement that a macro return a value...and
recursion with macros does work.
--
Christopher James Huff <cja### [at] earthlink net>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tag povray org
http://tag.povray.org/
Post a reply to this message
|
 |