I'm scanning in a line of words and need to stop at the end of a line from a data file.
push this is the first line
pop 4
push this is the next line
pop 21
push good luck
push this is the last assignment for the semester
pop 15
delete_stack
the first word is what to do with the next set of data. Push words onto a stack, pop a certain number from stack....
HOw would I find the last word on a line?