This question already has an answer here:
So I recently got a flag declined so I'm just posting the question here to ensure I'm on the right track with what to flag.
The answer I flagged doesn't attempt to answer the question and just randomly gives code for some other purpose. So it's not a wrong answer, it just doesn't answer question. So I flagged it for but it does not answer the question from the section "This was posted as an answer, but it does not answer the question. It should possibly be an edit, a comment, another question, or deleted altogether."
The answer is the bottom one in the "How to parse a string to an int in C++?" post. The answer starts with "Here is a simple way to parse a string".
So should I really not flag this type of answer in the future? or was this declined a one-off that I should ignore while continuing to flag these?