While learning programming at a reasonable time, learning C ++ with QT, I came across something I had not seen in other languages. I noticed that some (not all) objects need to be created with an asterisk preceding the name. For example:
QMessageBox *box = new QMessageBox();
That is, the class QMessageBox
to be instantiated, needs that asterisk there in the name of the object. My question is: what is the meaning of this asterisk?
Does it have anything to do with arrays, or pointers?
Thanks to anyone who gives me a clue so I can at least start searching on Google for the subject. Should I search for what?