Take a look at the CinReader API docs at Generated Documentation (Untitled). CinReader does not have a nextLine method.

Since the API docs are devoid of examples, here's one showing how you would...