Skip to main content
edited tags
Link
Cody Gray Mod
  • 244.2k
  • 84
  • 721
  • 763
Source Link
user2100815
user2100815

What is going on here? C++ madness

I'm sorry, but I have to ask what the hell is going on here Why does this if-statement combining assignment and an equality check return true? - not an interesting question, a correct but not brilliant top-voted answer, but the up-voting here seems to me to be nonsensical. Are there really so many C++ programmers that think the question and the answer (both pretty straightforward for anyone that knows a bit of c++) deserve these upvotes?

This has nothing to do with up or downvotes on my own answer - it just seems bizarre to me.