syntax: (computing) the rules that state how words and phrases must be used in a computer language
Statement: unit of a code terminated by a semicolon
Function: a large unit of code that may contain many statements
The main() function is the main entry point.
#include: how you import libraries for use in your code
Space is necessary to distinguish between two words or tokens.
token: something that is a symbol of a feeling, a fact, an event, etc.
Single line comments are introduced by two forward slashes.
Multi-line comments may span several lines. It begins with /* token and ends with */ token
The body of a function is enclosed in curly braces.
cout and printf are both commonly used to format strings for output
The std namespace is short for standard and the double colon is the scope operator.
沒有留言:
發佈留言