Kicked off with lesson 1.1. The big takeaway: a statement is an instruction that does something, and a function is just a named, ordered collection of statements.
Every C++ program needs exactly one main() function — it’s the designated entry point, and execution starts there regardless of where in the file other functions are defined. Coming from RuneScript at work, this maps fairly cleanly onto entry-point conventions I already know, though the explicitness of C++’s compilation model is going to take some getting used to.
int main()
{
return 0;
}
Next up: comments (1.2 was flagged as a quick one).