Solve the no connection puzzle: Difference between revisions
m
→{{header|m4}}
m (→{{header|m4}}) |
|||
Line 2,664:
{{trans|Fortran}}
Unlike the Fortran from which it was migrated, this m4 program stops at the first solution. The holes are represented by positions in a string; you can regard the string as a variable-size array. (m4 is, of course, a string-manipulation language.)
The program ought to work with any POSIX-compliant m4. The display has been changed to use only ASCII characters, because very old m4 cannot handle UTF-8.
|