blob: dd5f3346f70d342bdd463c740a9c47f22ff4bce2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
Thought I'd also have a go at translating ch-1.pl and ch-2.pl into C..
Both C versions produce identical (non-debugging and debugging)
output to the Perl originals.
These C versions use most of my regular support modules:
- a command-line argument processing module args.[ch],
- a csvlist-of-int parsing module parseints.[ch], and
- an int-array printing module printarray.[ch].
- plus a (new for PWC) csv splitting module csvsplit.[ch] to split
a single argument into a wordlist
|