Rookie mistake when reading from a book, be sure not to do the same:

I was stumped when compiling my test application, receiving the error

‘end1’ : undeclared identifier

That’s because end1 should read endl (end-ell, not end-one), for end-line, of course.