I'm not familiar with the subject matter, but, after reading through your question and the purported duplicate, they do seem to be asking different questions, so I gave you an upvote because I feel like they are distinct enough and the question has some effort put into it (more than most, anyway).
However, it was marked as a duplicate by a c++ gold badge holder: those with a gold badge in a tag have the power to mark any question as a duplicate instantlythe power to mark any question as a duplicate instantly, which is reasonable since they have a score of 1000+ on the tag.
I can't really argue with someone who has a gold badge in a language I'm not familiar with, but your question, albeit a bit unclear, doesn't seem to be a duplicate to me.
However, it can sometimes be a problem when a question changes in response to the answers/comments it receives, which can render other answers useless and change the intent/context/properties of a question, which is never a good idea.
That could certainly have been the issue here, and it could have been what prompted the poor response.