aboutsummaryrefslogtreecommitdiff
path: root/challenge-096/abigail/python
diff options
context:
space:
mode:
authorAbigail <abigail@abigail.be>2021-01-22 12:56:35 +0100
committerAbigail <abigail@abigail.be>2021-01-22 13:03:07 +0100
commit4e4ef99b1f7257e4fc10075bdc03196ed31cbdee (patch)
tree1865d27590e2f4bbd9657720aad4f5fd19a5f8b6 /challenge-096/abigail/python
parent5c43277e4f2fd1b90d3a51f140f3f4be04e5a06c (diff)
downloadperlweeklychallenge-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