In C/C++, a logical line ends with a semicolon. That is meant here. So if you put 50 commands on a single line, you only have 50 lines left.

Comment lines or empty lines don't count.