Why is declaring a std::ifstream called cin not a compilation error?

后端 未结 0 598
执念已碎
执念已碎 2021-01-25 07:38

Recently, I was curious as to what would happen if I declared a std::ifstream called cin, then tried to read input with it. I thought that this would r

相关标签:
回答
  • 消灭零回复
提交回复
热议问题