% cd ~/cs21/week10 % cp ~newhall/public/cs21/week10/substring.c . % cp ~newhall/public/cs21/week10/invertname.c . % ls
Run your program with valgrind to see if you have any memory leaks, or any other memory access errors:
% gccx -o substring substring.c % valgrind --leak-check=yes ./substringWe will likely not get to these in class, but here are some other things you may want to try out to get more practice with strings: