Created
September 14, 2010 21:20
-
-
Save stpettersens/579794 to your computer and use it in GitHub Desktop.
This file contains 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
// Begins a line comment | |
# as used in preprocessor definitions, e.g. #include <io> | |
() as used in function calls, function definitions, etc. | |
e.g. | |
int add(int num1, int num 2) { | |
return num 1 + num2; | |
} | |
{ } braces to enclose a block/function as seen above. | |
< less than and > greater than, used in numerical expressions | |
if(a > b) { ... } | |
<< >> Stream operators as in cin << and cout >> (stdout and stdin on the console respectively) e.g. cout >> "Hi there"; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment