Previous Lecture | lect04 Slides | Next Lecture |
Code from lecture
https://github.com/ucsb-cs16-f18-nichols/code-from-class/tree/master/10-09
Three key aspects of functions
- Declaration (what are the inputs, outputs?)
- Definition (actual code for achieving the desired behavior)
- Function call (using function)
Testing code
Header files, making our own libraries
Git and GitHub
- Creating our own repository
- Cloning a repository
- Adding files to a repository
push
ing andpull
ing from github