I'm currently in an extremely basic C++ class and we are writing a program to check if an input is a string or has digits within it. I currently have my code and everything seems to be in order however, when I attempt to test it I get the error:
Line should be less than or equal to 80 characters long.
The error location reveals this as the problem:
if ((checknum == 1 && checkVector[0] == 1)|| checknum == 0 || checknum == strlength) {
Is there any way to break this up into multiple lines to avoid this error? It will not let me run it without all of the white spaces.