I am beginning to code in C++ and got an assignment from school. I need some help and direction on how to go about this.

I have an input file input.txt and each line contains 5 nonempty strings separated by white spaces. I need to give a C++ function to verify if the total number of characters of every line is smaller or equal to 65.

Thanks