It's called the dot operator. Every class has member functions, which are just functions that only the class can use. In order to access these class functions, we use the dot operator which allows us to use any of it's public member functions. I like to think of it as the way we access the classes possible actions. A human class might have functions like eat(), or sleep(). So, we specify the object, which is human, and then tell it what to do.... Human.eat();
@AqsaAnum, what you need to pick is a good C++ book, not to raise question on every language feature/keyword and stuff. You're much more likely to learn a lot from a book before you ask us what if, while, do...while are, and why C++ is not named ++C or why they chose :: as a scope resolution instead of ;;
I don't know but I was asking that due to this reply.
@AqsaAnum, what you need to pick is a good C++ book, not to raise question on every language feature/keyword and stuff. You're much more likely to learn a lot from a book before you ask us what if, while, do...while are, and why C++ is not named ++C or why they chose :: as a scope resolution instead of ;;
Find a good c++ book and learn the language, and you'll understand. If you don't know how to ride a bike, asking what a kickstand does is not going to help you ride it. You need to grab a book, and start coding.