FYI: When I used the word idiot it is short for stupid and foolish.

Please explain what you call NOT answering the questions ask of the OP?

What do you mean by "logical line of code"?
What do you mean by "object"? (Do you mean "class"?)
What do you mean by "method"?
What programming language are you trying to parse? (C doesn't have classes or methods.)

The program you've posted doesn't really try to do any of this so we can't see where you are having problems.