Array problems to use the Koch L-system rule.
I have a problem with recusion for my project. This is what it must do:
when my funtion is executed once it should output a char 'F' then when it recurs once again, every F ---> F+F-F-F+F so that when it recurs 3 times the output becomes
F+F-F-F+F + F+F-F-F+F - F+F-F-F+F - F+F-F-F+F + F+F-F-F+F
Re: Array problems to use the Koch L-system rule.
Maybe I should use an array of strings instead of characters. . .
What do you suggest?
|All times are GMT +5.5. The time now is 21:19.|