Avoid if statements for checking neighboring indexes in a 2D array

kerdemdemir via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jul 16 14:54:23 PDT 2017


Of course now I will try to have it work first. Than replace for 
loops with Cartesian product calls. Than I will make 2D array 
template and even maybe with random access range. And finally for 
being able to use this class later in the some other coding 
challenge I will make Searching( == 'W' part) and Process 
functions passed by parameter.

Thanks a lot for help.
Erdem


More information about the Digitalmars-d-learn mailing list