Can you use a class name for a variable name in C++

后端 未结 0 841
没有蜡笔的小新
没有蜡笔的小新 2021-02-02 09:53

After a lot of debugging I discovered a typing error, but am surprised the compiler let me away with naming a variable the same as a class name. Should that be allowed? This is

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