Anonymous user
Execute a Markov algorithm: Difference between revisions
m
→{{header|C}}
(→Examples: Mathematica) |
m (→{{header|C}}) |
||
Line 735:
}
string * str_new(const char *s)
{
int l = strlen(s);
Line 745:
}
void str_append(string *str, const char *s, int len)
{
int l = strlen(str->s);
Line 809:
}
ruleset_t* read_rules(const char *name)
{
struct stat s;
Line 880:
}
int test_rules(const char *s, const char *file)
{
ruleset_t * r = read_rules(file);
|