Let's say i'm creating a class and i want to declare one of my "char" private variables to be "const", how can I change its content later on in the constructor?
I know if i have a const int variable, we put : after the constructor
You have to initialize constant variables in the initialization list, because they need to have their value set during construction. Chars work the exact same way as ints in this case.