3 ms·
The comment about const is correct in C. C++ created this dichotomy between const and non-const objects that makes life harder for everyone, but is needed becau
by coliveira 14y ago
The comment about const is correct in C. C++ created this dichotomy between const and non-const objects that makes life harder for everyone, but is needed because of how the language and libraries are organized. In C, const is used only with const strings and other data that is truly immutable, as well as a hint about the use of parameters.