Recursion

A recursive solution to the hanoi towers puzzle in c

The following C project contains the C source code and C examples used for a recursive solution to the hanoi towers puzzle. This program implements a C++ solution to the well known "Hanoi Towers Puzzle",this algorithm simply use recursion to solve the puzzle for any given number of disks in the original position (usualy,all the disk are staked on the first peg and there are 3 pegs).

Display expandable help of nested and subfunctions in an mfile with recursive behavior in matlab

The following Matlab project contains the source code and Matlab examples used for display expandable help of nested and subfunctions in an mfile with recursive behavior . HYPERSUBFUNHELP displays help of a file with expandable recursive subfunctions help  HYPERSUBFUNHELP(MFILE) displays the help of MFILE with expandable help  for each nested/sub functions that are preceeded by a line of comment  containing the key expression '% Display Help'  A set of links is generated containing the name of a sub functions and a  the h1 line of every subfunction.

Pages

Subscribe to RSS - Recursion