# Week 8

:::{topic} Learning goals
- discuss trade-offs of using global variables in an example
- use array of strings with dynamic content by tracking its size
- use `memset()` for initializing arrays
- break a string into tokens using `strtok`
:::

:::{toctree}
:maxdepth: 1
week08/frankentext
week08/replacing-non-printable-chars
week08/how-to-use-provided-functions
week08/breaking-a-string-into-tokens
week08/copying-and-initializing-using-mem-functions
:::

<!--
one strcat slide missing

Warning: I spent too much time explaining the problem. I have to introduce an activity where they copy to code and run the debugger to see where it segfaults.
-->