I have been playing around with the language Brainf#@k and have programmed a few novelty things with it all of them simple but still challenging. I have been trying at this one but I can't figure out how. I'm trying to have the program insert a blank piece of memory after every 8 characters of input. So far I have this:
It will insert a blank piece of memory after the first 8 characters of input or skip a piece of memory however you want to look at it. My problem is getting this cycle to recur. I don't see how I could reset the 2nd memory block to 8 so it can happen again without actually copy and pasting the code many times. Can anyone help me out here?Code:>++++++++[>,[<]>-[>]<]>>



LinkBack URL
About LinkBacks


