I realize that these may be beginner questions, but to properly understand concepts, I'd appreciate solid answer or a link towards documentation.
What is the meaning of &
or *
in front of parameter names, or after datatypes within C++ functions?
For example:
void ApplicationUI::requestFinished(QNetworkReply* reply) { //... }
or
void PostHttp::post(const QString &body) { //... }
Bonus question
In the post function above... does const
make it required for this function pass constant variable or is there a different reason for it?