Skip to content

CS360-Networking-PACU/C_Strings_Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C_Strings_Example

main.c demonstrates strncpy, strncat, and snprintf.

Examples_2.c demonstrates strncpy, strncat, memset, strstr, isdigit, and atoi.

git clone & git pull

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