Created
June 6, 2016 02:17
-
-
Save conleec/3f28ae0c9030378167f891906b670c39 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Stuff to remember |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Remember the Ternary Operator
int minutesPerPound = isBoneless ? 10 : 15;In this case, if true then assign 10, else assign 15.
REMEMBER THIS
Global Variables and Static Variables
Looping Notes
breakstops execution in the middle of the loopcontinueskips to the next iteration of the loop (INTERESTING)Example of passing arguments via "reference"
Structs in C
This is an example of using defining a
structwith atypedefas per page 76 in BNR 2nd edition