diff options
| author | Abigail <abigail@abigail.be> | 2021-01-22 12:56:35 +0100 |
|---|---|---|
| committer | Abigail <abigail@abigail.be> | 2021-01-22 13:03:07 +0100 |
| commit | 4e4ef99b1f7257e4fc10075bdc03196ed31cbdee (patch) | |
| tree | 1865d27590e2f4bbd9657720aad4f5fd19a5f8b6 /challenge-096/abigail/python | |
| parent | 5c43277e4f2fd1b90d3a51f140f3f4be04e5a06c (diff) | |
| download | perlweeklychallenge-club-4e4ef99b1f7257e4fc10075bdc03196ed31cbdee.tar.gz perlweeklychallenge-club-4e4ef99b1f7257e4fc10075bdc03196ed31cbdee.tar.bz2 perlweeklychallenge-club-4e4ef99b1f7257e4fc10075bdc03196ed31cbdee.zip | |
We only need one pointer.
There's no need for a different pointer when searching for the
beginning of the word, nor do we need strcpy to extract words
before printing it. Instead, we set the first white space after
a word to '\0', walk the pointer to the beginning of the word,
then print it.
Diffstat (limited to 'challenge-096/abigail/python')
0 files changed, 0 insertions, 0 deletions
