main.c demonstrates strncpy, strncat, and snprintf.
Examples_2.c demonstrates strncpy, strncat, memset, strstr, isdigit, and atoi.
git clone this repository to your local vm and then you can git pull to get updates from GitHub as they are added.
git clone git@github.com:CS360-Networking-PACU/C_Strings_Example.git
git pull
Don't commit to this repository.
If you make changes locally and have a conflict when you try to pull, you can stash your changes, then pull, then reapply your changes if necessary. If you don't want to keep your changes you can delete your stash.
git stash
git pull
To reapply the changes:
git stash pop
To discard your changes:
git stash clear
See more information about stash here: Git Stash Explained