20 ms·
C++ has to have structs because it wants to be (mostly) backwards compatible with C. I think that's the main reason they exist in C++.
by est31 6y ago
C++ has to have structs because it wants to be (mostly) backwards compatible with C. I think that's the main reason they exist in C++.
- pjmlp 6y agoThat is correct.