Const In C++
The Const Keyword For the longest time, I simply used the const keyword because it was a blanket command to use it. All tutorials and blog advised to use it. They all gave their explanations. I did not understand most of it. I just knew to use const when passing variables of certain types into a function - a const reference to be precise. A few days ago while writing C++ for a little sqlite clone I was writing, it clicked! It just made sense. ...