So C++ is "wrong" because it doesn't work like something that came along 40 years later and you used first?
The problem does not appear to be in C++.