I want to take some time and go through this "hostile feedback" of yours. May I?
And why in the world are you converting Managed code to Unmanaged?
To me this actually reads as "This is possibly an X/Y problem. I can't fathom why you'd actually try this, why are you actually trying or need to do this?". Time and time again I've seen questions asked where people attempt to do things not because they actually need to but because of some prior misconception. Hostility? None found.
Pick up a good C++ book and learn the actual language.
This has been thoroughly covered in the comments. OP is clearly not aware that C++ does not have properties like C# does meaning he probably has very little knowledge of C++. In order to properly re-write code from language A to language B one needs an at least minimal understanding of both languages. Something OP lacks. How does one fix this? By picking up a good book and learning the language. Hostility? Again, not really.
The problem here is that you have no idea about C++
While this may come across as an insult "You have no clue what you're doing", it's more of a factual statement, IMHO. Whoever wrote this is merely pointing out that the problem here is that you're attempting to use feature in language A in language B where it does not exist. Something you wouldn't actually attempt to do if you knew C++. Could've been sugar coated I guess but not hostile or insulting in any way.
Now comes the case of DeadMG's answer. I don't have 10k rep so I can't actually grab the text and do an analysis. But from what I remember, the essence of it reflected some or most of the elements I pointed out earlier. We can agree to disagree on whether or not it was offensive, but in the end he was right. In order to perform his task, OP needs to learn C++ first.
Now that all of this is said:
This question is a great example of why Stack Overflow is getting a reputation for being a hostile environment these days
I believe this is in fact not a great example of SO being a hostile environment.
This question is a great example of why Stack Overflow is getting a reputation for being a hostile environment these days
EDIT: Ok so I was told where to find the original answer:
The problem here is that you have no idea about C++- namely, it does not have an equivalent feature, and even if it did, simply pasting the code like that would never work- for example, this.f() is illegal C++. Kindly learn the language you are attempting to use prior to use.
I'll give you this: it could have been sugar coated. But what is this answer really saying?
The problem here is that you have no idea about C++- namely, it does not have an equivalent feature, and even if it did, simply pasting the code like that would never work- for example, this.f() is illegal C++.
The bit about not knowing C++ I've covered. The rest is a factual statement that C++ does indeed not have an equivalent feature to C#'s properties. And finally, sound advice if you ask me. One should not attempt to "translate" from language A to B by pasting the code and fixing the errors one by one. I don't have much experience I'll grant you that much, but in the experience I do have, I've found this approach counterproductive.
Kindly learn the language you are attempting to use prior to use.
This final bit was also covered earlier. The only proper way to perform this task is to learn the language.