A small modification of dr

For scripts to aid with computation or simulation in cellular automata.
carsoncheng
Posts: 475
Joined: June 11th, 2022, 11:24 pm

Re: A small modification of dr

Post by carsoncheng » April 22nd, 2023, 2:11 am

Sokwe wrote:
October 20th, 2014, 11:30 pm
codeholic wrote:Would you please also share the modified source? I've got a different OS.
Oh no! I thought it was already in there. :oops:
In case you experience problems compiling the code, try including <string.h>, <stdlib.h>, and <ctype.h>. If you don't know how to do it, replace the first few lines of dr2.c with this:

Code: Select all

/* Find small drifters against a stable background.   3/20/97 */

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#define COUNT   0   /* If true, then periodically print how often */
                    /* various functions are called.              */

Post Reply