What is the point in using private and protected variables in C++?

This design principle is built into C# under the name “Property” so yes it is very useful.