well my biggest walls in this assignment were more or less HOW to get the program to do what I want it to do.
When I had the finished project (which I posted in the main forum), by that time, I knew EXACTLY what my program was doing.
It takes in user input until 'Q' is reached. It takes that string and passes it to a function. That function reads the string up until it reaches a new line, creates a substring contain the elements of the initial string up to that point, then deletes that part in the initial string. Since its passed by reference, the original string now contains 1 less line or whatever.
In the main there is also a loop. The loop keeps going until the original string contains nothing. It calls to the input handler function and then takes that output and sends it to a function which returns whether or not the string was in first declination or second. Then from there it is just if statements and the print functions (which use various string functionality)